AsyncResult Constructors

Definition

Called from constructors in derived classes to initialize the AsyncResult class.

Overloads

AsyncResult()

Called from constructors in derived classes to initialize an instance of the AsyncResult class that does not have a callback delegate or a state object.

AsyncResult(Object)

Called from constructors in derived classes to initialize an instance of the AsyncResult class that does not have a callback delegate but does have a state object.

AsyncResult(AsyncCallback, Object)

Called from constructors in derived classes to initialize an instance of the AsyncResult class that has a callback delegate and a state object.

AsyncResult()

Called from constructors in derived classes to initialize an instance of the AsyncResult class that does not have a callback delegate or a state object.

protected:
 AsyncResult();
protected AsyncResult ();
Protected Sub New ()

Applies to

AsyncResult(Object)

Called from constructors in derived classes to initialize an instance of the AsyncResult class that does not have a callback delegate but does have a state object.

protected:
 AsyncResult(System::Object ^ state);
protected AsyncResult (object state);
new System.IdentityModel.AsyncResult : obj -> System.IdentityModel.AsyncResult
Protected Sub New (state As Object)

Parameters

state
Object

A user-defined object that qualifies or contains information about an asynchronous operation.

Applies to

AsyncResult(AsyncCallback, Object)

Called from constructors in derived classes to initialize an instance of the AsyncResult class that has a callback delegate and a state object.

protected:
 AsyncResult(AsyncCallback ^ callback, System::Object ^ state);
protected AsyncResult (AsyncCallback callback, object state);
new System.IdentityModel.AsyncResult : AsyncCallback * obj -> System.IdentityModel.AsyncResult
Protected Sub New (callback As AsyncCallback, state As Object)

Parameters

callback
AsyncCallback

The method to be called when the asynchronous operation completes.

state
Object

A user-defined object that qualifies or contains information about an asynchronous operation.

Applies to