Class that is used to access the state of the asynchronous operation or to cancel the result.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.CancelableAsyncResult
Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
Public Class CancelableAsyncResult _
    Implements ICancelableAsyncResult, IAsyncResult
public class CancelableAsyncResult : ICancelableAsyncResult, 
    IAsyncResult
public ref class CancelableAsyncResult : ICancelableAsyncResult, 
    IAsyncResult
type CancelableAsyncResult =  
    class
        interface ICancelableAsyncResult
        interface IAsyncResult
    end
public class CancelableAsyncResult implements ICancelableAsyncResult, IAsyncResult
The CancelableAsyncResult type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Action | Gets the action that the asynchronous call represents. | 
| .gif) | AsyncState | Gets the state of the asynchronous call. | 
| .gif) | AsyncWaitHandle | Gets the asynchronous wait handle. | 
| .gif) | Callback | Gets or sets the asynchronous callback method. | 
| .gif) | CompletedSynchronously | Returns true if the call completed synchronously; otherwise, false. | 
| .gif) | IsCanceled | Returns true if the asynchronous action has been canceled; otherwise, false. | 
| .gif) | IsCompleted | Returns true if the asynchronous action has completed; otherwise, false. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | BeginAsync | Starts the asynchronous task. | 
| .gif) | Cancel | Cancels the asynchronous action. | 
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.