Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

LogicalThreadContext.SetData Method

Stores a given object and associates it with the specified name.

[Visual Basic]
Public Shared Sub SetData( _
   ByVal name As String, _
   ByVal value As Object _
)
[C#]
public static void SetData(
   string name,
   object value
);

Parameters

name
The name with which to associate the new item.
value
The object to store in the current thread's context.

See Also

LogicalThreadContext Class | Spring.Threading Namespace