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!

Stream.CreateWaitHandle

Allocates a WaitHandle object efficiently.

[Visual Basic]
Overridable Protected Function CreateWaitHandle() As WaitHandle
[C#]
protected virtual WaitHandle CreateWaitHandle();
[C++]
protected: virtual WaitHandle* CreateWaitHandle();
[JScript]
protected function CreateWaitHandle() : WaitHandle;

Return Value

A new WaitHandle.

Remarks

CreateWaitHandle might be useful if you implement the asynchronous methods and require a way of blocking in EndRead or EndWrite until the asynchronous operation is complete.

See Also

Stream Class | Stream Members | System.IO Namespace