Share via


ScheduledJob.CancellationToken Property

 

Gets a CancellationToken indicating whether the scheduled job has been cancelled. Scheduled jobs that run for an extended amount of time should listen to this token to see if they are being cancelled.

Namespace:   Microsoft.WindowsAzure.Mobile.Service
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Syntax

public CancellationToken CancellationToken {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    private set;
}
public:
property CancellationToken CancellationToken {
    [CompilerGeneratedAttribute]
    CancellationToken get();
    [CompilerGeneratedAttribute]
    private: void set(CancellationToken value);
}
member CancellationToken : CancellationToken with get, private set
Public Property CancellationToken As CancellationToken
    Get
    Private Set
End Property

Property Value

Type: System.Threading.CancellationToken

See Also

ScheduledJob Class
Microsoft.WindowsAzure.Mobile.Service Namespace

Return to top