AsyncResult Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om