Share via


CancelableAsyncResult Members

Include Protected Members
Include Inherited Members

Accessor for CancelableAsyncResult. Can be used to access the state of the asynchronous operation or cancel the result.

The CancelableAsyncResult type exposes the following members.

Methods

 

Name

Description

Public method

BeginAsync

Starts the asynchronous work.

Public method

Cancel

Cancels the pending action.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

Action

Gets the action for the CancelableAsyncResult.

Public property

AsyncState

Gets the state of the asynchronous call.

Public property

AsyncWaitHandle

Gets the asynchronous wait handle.

Public property

Callback

Gets or sets the asynchronous callback method.

Public property

CompletedSynchronously

Returns true if the call Completed synchronously; otherwise false.

Public property

IsCanceled

Returns true if the asynchronous action has been canceled; otherwise false.

Public property

IsCompleted

Returns true if the asynchronous action has completed; otherwise false.

Top

See Also

Reference

CancelableAsyncResult Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace