Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ThreadStaticStorage.SetData Method

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

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

Parameters

name
The name with which to associate the new item.
value
The object to store in the call context.

Implements

IThreadStorage.SetData

See Also

ThreadStaticStorage Class | Spring.Threading Namespace