Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
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 | |
---|---|---|
![]() |
Action | Gets the action that the asynchronous call represents. |
![]() |
AsyncState | Gets the state of the asynchronous call. |
![]() |
AsyncWaitHandle | Gets the asynchronous wait handle. |
![]() |
Callback | Gets or sets the asynchronous callback method. |
![]() |
CompletedSynchronously | Returns true if the call completed synchronously; otherwise, false. |
![]() |
IsCanceled | Returns true if the asynchronous action has been canceled; otherwise, false. |
![]() |
IsCompleted | Returns true if the asynchronous action has completed; otherwise, false. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
BeginAsync | Starts the asynchronous task. |
![]() |
Cancel | Cancels the asynchronous action. |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
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.