A base class for AsyncResult objects
More...
Inherits IAsyncResult, and IDisposable.
Inherited by UnifiedAutomation.UaBase.EndpointBase.ProcessRequestAsyncResult, and UnifiedAutomation.UaClient.Session.SessionAsyncResult.
|
virtual void | Dispose (bool disposing) |
| An overrideable version of the Dispose. More...
|
|
|
object | Lock [get] |
| An object used to synchronize access to the result object. More...
|
|
AsyncCallback | Callback [get] |
| The method to invoke when the request completes. More...
|
|
IAsyncResult | InnerResult [get, set] |
| An object used to synchronize access to the result object. More...
|
|
StatusCode | Error [get] |
| An error that occured during processing. More...
|
|
Exception | Exception [get] |
| An exception that occured during processing. More...
|
|
object | AsyncState [get, set] |
| Gets a user-defined object that qualifies or contains information about an asynchronous operation. More...
|
|
WaitHandle | AsyncWaitHandle [get] |
| Gets a T:System.Threading.WaitHandle that is used to wait for an asynchronous operation to complete. More...
|
|
bool | CompletedSynchronously [get] |
| Gets a value that indicates whether the asynchronous operation completed synchronously. More...
|
|
bool | IsCompleted [get] |
| Gets a value that indicates whether the asynchronous operation has completed. More...
|
|
A base class for AsyncResult objects
UnifiedAutomation.UaBase.AsyncResultBase.AsyncResultBase |
( |
AsyncCallback |
callback, |
|
|
object |
callbackData, |
|
|
int |
timeout |
|
) |
| |
|
inline |
Initializes a new instance of the AsyncResultBase class.
- Parameters
-
callback | The callback to use when the operation completes. |
callbackData | The callback data. |
timeout | The timeout for the operation. |
void UnifiedAutomation.UaBase.AsyncResultBase.Dispose |
( |
| ) |
|
|
inline |
Frees any unmanaged resources.
virtual void UnifiedAutomation.UaBase.AsyncResultBase.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprotectedvirtual |
void UnifiedAutomation.UaBase.AsyncResultBase.Fault |
( |
StatusCode |
statusCode | ) |
|
|
inline |
Called when a fault occurrs.
void UnifiedAutomation.UaBase.AsyncResultBase.Fault |
( |
Exception |
e | ) |
|
|
inline |
Called when a fault occurrs.
void UnifiedAutomation.UaBase.AsyncResultBase.OperationCompleted |
( |
| ) |
|
|
inline |
Called to invoke the callback after the asynchronous operation completes.
static void UnifiedAutomation.UaBase.AsyncResultBase.WaitForComplete |
( |
IAsyncResult |
ar | ) |
|
|
inlinestatic |
Waits for the operation to complete.
- Parameters
-
ar | The result object returned from the Begin method. |
bool UnifiedAutomation.UaBase.AsyncResultBase.WaitForComplete |
( |
| ) |
|
|
inline |
Waits for the operation to complete.
- Returns
- True if operation completed without any errors.
object UnifiedAutomation.UaBase.AsyncResultBase.AsyncState |
|
getset |
Gets a user-defined object that qualifies or contains information about an asynchronous operation.
- Returns
- A user-defined object that qualifies or contains information about an asynchronous operation.
WaitHandle UnifiedAutomation.UaBase.AsyncResultBase.AsyncWaitHandle |
|
get |
Gets a T:System.Threading.WaitHandle that is used to wait for an asynchronous operation to complete.
- Returns
- A T:System.Threading.WaitHandle that is used to wait for an asynchronous operation to complete.
AsyncCallback UnifiedAutomation.UaBase.AsyncResultBase.Callback |
|
get |
The method to invoke when the request completes.
bool UnifiedAutomation.UaBase.AsyncResultBase.CompletedSynchronously |
|
get |
Gets a value that indicates whether the asynchronous operation completed synchronously.
- Returns
- true if the asynchronous operation completed synchronously; otherwise, false.
StatusCode UnifiedAutomation.UaBase.AsyncResultBase.Error |
|
get |
An error that occured during processing.
Exception UnifiedAutomation.UaBase.AsyncResultBase.Exception |
|
get |
An exception that occured during processing.
IAsyncResult UnifiedAutomation.UaBase.AsyncResultBase.InnerResult |
|
getset |
An object used to synchronize access to the result object.
bool UnifiedAutomation.UaBase.AsyncResultBase.IsCompleted |
|
get |
Gets a value that indicates whether the asynchronous operation has completed.
- Returns
- true if the operation is complete; otherwise, false.
object UnifiedAutomation.UaBase.AsyncResultBase.Lock |
|
get |
An object used to synchronize access to the result object.
The documentation for this class was generated from the following file:
- D:/work/uasdknet/src/UaBase/Transport/AsyncResultBase.cs