CancelableAsyncResult Class

Class that is used to access the state of the asynchronous operation or to cancel the result.

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.CancelableAsyncResult

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

public class CancelableAsyncResult : ICancelableAsyncResult, 
	IAsyncResult

The CancelableAsyncResult type exposes the following members.

  NameDescription
Public propertyActionGets the action that the asynchronous call represents.
Public propertyAsyncStateGets the state of the asynchronous call.
Public propertyAsyncWaitHandleGets the asynchronous wait handle.
Public propertyCallbackGets or sets the asynchronous callback method.
Public propertyCompletedSynchronouslyReturns true if the call completed synchronously; otherwise, false.
Public propertyIsCanceledReturns true if the asynchronous action has been canceled; otherwise, false.
Public propertyIsCompletedReturns true if the asynchronous action has completed; otherwise, false.
Top

  NameDescription
Public methodBeginAsyncStarts the asynchronous task.
Public methodCancelCancels the asynchronous action.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft