Partager via


WaitHandleAsyncResult Constructor

Initializes a new instance of the WaitHandleAsyncResult class.

Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim waitHandle As WaitHandle
Dim callback As AsyncCallback
Dim state As Object
Dim waitHandleAsyncResult1 As New WaitHandleAsyncResult(waitHandle, callback, state)

Syntax

'Declaration
Public Sub New( _
    ByVal waitHandle As WaitHandle, _
    ByVal callback As AsyncCallback, _
    ByVal state As Object _
)
public WaitHandleAsyncResult(
    WaitHandle waitHandle, 
    AsyncCallback callback, 
    object state
);
public:
WaitHandleAsyncResult(
    WaitHandle^ waitHandle, 
    AsyncCallback^ callback, 
    Object^ state
);
public WaitHandleAsyncResult(
    WaitHandle waitHandle, 
    AsyncCallback callback, 
    System.Object state
);
public function WaitHandleAsyncResult(
     waitHandle : WaitHandle, 
     callback : AsyncCallback, 
     state : Object
);

Parameters

  • waitHandle
    The WaitHandle that waits to be signaled.
  • callback
    An AsyncCallback that references the callback method that is called when the asynchronous operation completes.
  • state
    A user-defined object that contains information about the asynchronous operation.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

WaitHandleAsyncResult Class
WaitHandleAsyncResult Members
Microsoft.Web.Services3 Namespace