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.AllocateNamedDataSlot

Allocates a named data slot on all of the threads.

[Visual Basic]
Public Shared Function AllocateNamedDataSlot( _
   ByVal name As String _
) As LocalDataStoreSlot
[C#]
public static LocalDataStoreSlot AllocateNamedDataSlot(
   string name
);
[C++]
public: static LocalDataStoreSlot* AllocateNamedDataSlot(
   String* name
);
[JScript]
public static function AllocateNamedDataSlot(
   name : String
) : LocalDataStoreSlot;

Parameters

name
The name of the data slot to be allocated.

Remarks

Slots allocated with this method must be freed with FreeNamedDataSlot.

See Also

Thread Class | Thread Members | System.Threading Namespace