Property | Type | Description | |
---|---|---|---|
AsyncCallbackCompleteOpHelperNoReturnValue | void | ||
CallingThreadShouldSetTheEvent | bool | ||
CompleteOpHelper | void | ||
WaitCallbackCompleteOpHelperNoReturnValue | void |
Method | Description | |
---|---|---|
AsyncResult ( AsyncCallback asyncCallback, object state ) : System |
Initializes a new instance of the AsyncResult class.
|
|
AsyncResult ( AsyncCallback asyncCallback, object state, object initiatingObject ) : System |
Initializes a new instance of the AsyncResult class.
|
|
EndInvoke ( ) : void |
Frees up the resources used by the asynchronous operation. If the asynchronous operation failed then this method throws the exception.
|
|
SetAsCancelled ( ) : void |
Set the status of the asynchronous operation to cancelled.
|
|
SetAsCompleted ( |
Set the status of the asynchronous operation to completed.
|
Method | Description | |
---|---|---|
BeginInvokeOnWorkerThread ( ) : IAsyncResult |
Returns the
|
|
GetAsyncCallbackHelper ( ) : AsyncCallback |
Returns a single
|
|
OnCompleteOperation ( IAsyncResult result ) : void |
Method | Description | |
---|---|---|
AsyncCallbackCompleteOpHelperNoReturnValue ( [ otherAsyncResult ) : void | ||
CallingThreadShouldSetTheEvent ( ) : bool | ||
CompleteOpHelper ( IAsyncResult ar ) : void |
A helper function used to run the callback on the completed asynchronous operation.
|
|
WaitCallbackCompleteOpHelperNoReturnValue ( [ o ) : void |
public AsyncResult ( AsyncCallback asyncCallback, object state ) : System | ||
asyncCallback | AsyncCallback | The method to execute once the operation completes. |
state | object |
/// The object that can be obtained via the |
return | System |
public AsyncResult ( AsyncCallback asyncCallback, object state, object initiatingObject ) : System | ||
asyncCallback | AsyncCallback | The method that should be executed when the operation completes. |
state | object | The object that can be obtained via the AsyncState property. |
initiatingObject | object |
/// |
return | System |
protected BeginInvokeOnWorkerThread ( ) : IAsyncResult | ||
return | IAsyncResult |
protected static GetAsyncCallbackHelper ( ) : AsyncCallback | ||
return | AsyncCallback |
protected OnCompleteOperation ( IAsyncResult result ) : void | ||
result | IAsyncResult | |
return | void |
public SetAsCompleted ( |
||
exception | /// If non-null then this identifies the exception that occurred while processing the asynchronous operation. /// | |
completedSynchronously | bool | Indicates whether the operation completed synchronously or asynchronously. |
return | void |