Condividi tramite


Proprietà CancellationTokenSource.Token (F#)

Recupera il token che rappresenta la funzionalità per rilevare l'annullamento di un'operazione.

Percorso spazio dei nomi/modulo: System.Threading

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
member this.Token :  CancellationToken

// Usage:
cancellationTokenSource.Token

Valore restituito

Un oggetto CancellationToken.

Note

Questa interfaccia API viene fornita per essere utilizzata esclusivamente con F# Runtime destinato a .NET Framework 2.0. In .NET Framework 4 utilizzare invece l'API di .NET Framework 4 con lo stesso nome, Token.

Piattaforme

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2.

Informazioni sulla versione

F# Runtime

Supportato in: 2.0

Silverlight

Supportato in: 3

Vedere anche

Riferimenti

Classe Threading.CancellationTokenSource (F#)

Spazio dei nomi System.Threading (F#)