NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Thread.SetData

Sets the data in the specified slot on the currently running thread.

[Visual Basic]
Public Shared Sub SetData( _
   ByVal slot As LocalDataStoreSlot, _
   ByVal data As Object _
)
[C#]
public static void SetData(
   LocalDataStoreSlot slot,
   object data
);
[C++]
public: static void SetData(
   LocalDataStoreSlot* slot,
   Object* data
);
[JScript]
public static function SetData(
   slot : LocalDataStoreSlot,
   data : Object
);

Parameters

slot
The slot in which to set the value.
data
The value to be set.

See Also

Thread Class | Thread Members | System.Threading Namespace