Edit

Share via


InvocationContext.GetCancellationToken Method

Definition

Gets token to implement cancellation handling.

public:
 System::Threading::CancellationToken GetCancellationToken();
public System.Threading.CancellationToken GetCancellationToken ();
member this.GetCancellationToken : unit -> System.Threading.CancellationToken
Public Function GetCancellationToken () As CancellationToken

Returns

Token used by the caller to implement cancellation handling.

Applies to