This documentation is archived and is not being maintained.

ICancelableAsyncResult Interface

Represents the state of a cancelable asynchronous operation.

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

public interface ICancelableAsyncResult : IAsyncResult

The ICancelableAsyncResult type exposes the following members.

Public propertyAsyncStateGets a user-defined object that qualifies or contains information about an asynchronous operation. (Inherited from IAsyncResult.)
Public propertyAsyncWaitHandleGets a WaitHandle that is used to wait for an asynchronous operation to complete. (Inherited from IAsyncResult.)
Public propertyCompletedSynchronouslyGets a value that indicates whether the asynchronous operation completed synchronously. (Inherited from IAsyncResult.)
Public propertyIsCanceledGets the status of the cancellation.
Public propertyIsCompletedGets a value that indicates whether the asynchronous operation has completed. (Inherited from IAsyncResult.)

Public methodCancelAttempts to cancel the asynchronous operation.