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!

Stack.Synchronized

Returns a synchronized (thread-safe) wrapper for the Stack.

[Visual Basic]
Public Shared Function Synchronized( _
   ByVal stack As Stack _
) As Stack
[C#]
public static Stack Synchronized(
   Stack stack
);
[C++]
public: static Stack* Synchronized(
   Stack* stack
);
[JScript]
public static function Synchronized(
   stack : Stack
) : Stack;

Parameters

stack
The Stack to synchronize.

Return Value

A synchronized wrapper around the Stack.

Exceptions

Exception Type Condition
ArgumentNullException stack is a null reference (in Visual Basic Nothing).

See Also

Stack Class | Stack Members | System.Collections Namespace