Method | Description | |
---|---|---|
AsyncResultBase ( AsyncCallback callback, object callbackData, int timeout ) : System |
Initializes a new instance of the AsyncResultBase class.
|
|
Dispose ( ) : void |
Frees any unmanaged resources.
|
|
OperationCompleted ( ) : void |
Called to invoke the callback after the asynchronous operation completes.
|
|
WaitForComplete ( ) : bool |
Waits for the operation to complete.
|
|
WaitForComplete ( IAsyncResult ar ) : void |
Waits for the operation to complete.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
An overrideable version of the Dispose.
|
Method | Description | |
---|---|---|
OnTimeout ( object state ) : void |
Called when the operation times out.
|
public AsyncResultBase ( AsyncCallback callback, object callbackData, int timeout ) : System | ||
callback | AsyncCallback | The callback to use when the operation completes. |
callbackData | object | The callback data. |
timeout | int | The timeout for the operation. |
return | System |
public static WaitForComplete ( IAsyncResult ar ) : void | ||
ar | IAsyncResult | The result object returned from the Begin method. |
return | void |