Sprache

ClientUtilities.ThrowIfCancellationRequested(CancellationToken) Methode

Definition

Löst eine Abbruch exception aus, wenn der Abbruch per cancellationToken.

public:
 static void ThrowIfCancellationRequested(System::Threading::CancellationToken cancellationToken);
public static void ThrowIfCancellationRequested(System.Threading.CancellationToken cancellationToken);
static member ThrowIfCancellationRequested : System.Threading.CancellationToken -> unit
Public Shared Sub ThrowIfCancellationRequested (cancellationToken As CancellationToken)

Parameter

cancellationToken
CancellationToken

Das Token, das auf eine Abbruchanforderung überprüft werden soll.

Gilt für: