다음을 통해 공유


ICancelableAsyncResult Interface

Represents the state of a cancelable asynchronous operation.

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

Syntax

'Declaration
Public Interface ICancelableAsyncResult _
    Inherits IAsyncResult
public interface ICancelableAsyncResult : IAsyncResult
public interface class ICancelableAsyncResult : IAsyncResult
type ICancelableAsyncResult =  
    interface 
        interface IAsyncResult 
    end
public interface ICancelableAsyncResult extends IAsyncResult

The ICancelableAsyncResult type exposes the following members.

Properties

  Name Description
Public property AsyncState Gets a user-defined object that qualifies or contains information about an asynchronous operation. (Inherited from IAsyncResult.)
Public property AsyncWaitHandle Gets a WaitHandle that is used to wait for an asynchronous operation to complete. (Inherited from IAsyncResult.)
Public property CompletedSynchronously Gets a value that indicates whether the asynchronous operation completed synchronously. (Inherited from IAsyncResult.)
Public property IsCanceled Gets the status of the cancellation.
Public property IsCompleted Gets a value that indicates whether the asynchronous operation has completed. (Inherited from IAsyncResult.)

Top

Methods

  Name Description
Public method Cancel Attempts to cancel the asynchronous operation.

Top

See Also

Reference

Microsoft.TeamFoundation.Client Namespace