The ExpectAsyncResult type exposes the following members.

Methods

  NameDescription
Public methodEndInvoke
Waits until the asynchronous operation completes, and then returns the value generated by the asynchronous operation.
(Inherited from AsyncResult<(Of <(<'TResult>)>)>.)
Public methodSetAsCompleted(Exception, Boolean)
Marks asynchronous operation as completed.
(Inherited from AsyncResult.)
Public methodSetAsCompleted(TResult, Boolean)
Marks asynchronous operation as completed.
(Inherited from AsyncResult<(Of <(<'TResult>)>)>.)

Properties

  NameDescription
Public propertyAsyncState
Gets a user-defined object that qualifies or contains information about an asynchronous operation.
(Inherited from AsyncResult.)
Public propertyAsyncWaitHandle
Gets a WaitHandle that is used to wait for an asynchronous operation to complete.
(Inherited from AsyncResult.)
Public propertyCompletedSynchronously
Gets a value that indicates whether the asynchronous operation completed synchronously.
(Inherited from AsyncResult.)
Public propertyEndInvokeCalled
Gets or sets a value indicating whether EndInvoke has been called on the current AsyncResult.
(Inherited from AsyncResult.)
Public propertyInnerObject
For internal use only.
(Inherited from AsyncResult.)
Public propertyIsCompleted
Gets a value that indicates whether the asynchronous operation has completed.
(Inherited from AsyncResult.)

See Also