AsyncResult Constructor (AsyncCallback, Object)
Initializes a new instance of the AsyncResult class using the specified state information and callback method.
Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim callback As AsyncCallback
Dim state As Object
Dim asyncResult1 As New AsyncResult(callback, state)
Syntax
'Declaration
Protected Sub New( _
ByVal callback As AsyncCallback, _
ByVal state As Object _
)
protected AsyncResult(
AsyncCallback callback,
object state
);
protected:
AsyncResult(
AsyncCallback^ callback,
Object^ state
);
protected AsyncResult(
AsyncCallback callback,
System.Object state
);
protected function AsyncResult(
callback : AsyncCallback,
state : Object
);
Parameters
- 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
AsyncResult Class
AsyncResult Members
Microsoft.Web.Services3 Namespace