Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IThreadStorage.SetData Method

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

[Visual Basic]
Public Sub SetData( _
   ByVal name As String, _
   ByVal value As Object _
)
[C#]
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

IThreadStorage Interface | Spring.Threading Namespace