ScheduledJob Class

 

Provides a base class for scheduled jobs to be executed as part of the service.

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

System.Object
  Microsoft.WindowsAzure.Mobile.Service.ScheduledJob

[<AbstractClass>]
type ScheduledJob = 
    class
        interface IScheduledJob
        interface IDisposable
    end

NameDescription
System_CAPS_protmethodScheduledJob()

Creates a new instance of the ScheduledJob class.

NameDescription
System_CAPS_pubpropertyCancellationToken

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.

System_CAPS_pubpropertyServices

Gets or sets the ApiServices associated with this ScheduledJob.

NameDescription
System_CAPS_pubmethodDispose()

Releases the unmanaged resources and disposes of the managed resources used by this ScheduledJob instance. When the job completes this method is called automatically by the infrastructure.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by this ScheduledJob instance and optionally disposes of the managed resources. Override this method to dispose additional resources specific to this particular ScheduledJob implementation.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecuteAsync()

When implemented in a derived class, executes the scheduled job asynchronously. Implementations that want to know whether the scheduled job is being cancelled can get a CancellationToken from the M:CancellationToken property.

System_CAPS_pubmethodExecuteAsync(ScheduledJobDescriptor, CancellationToken)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodInitialize(ScheduledJobDescriptor, CancellationToken)

Initializes this ScheduledJob before execution begins.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: