Share via


IScheduledJobActivator.Create Method

Definition

Create a new instance of a scheduled job with a given jobDescriptor within the provided dependencyScope.

public Microsoft.WindowsAzure.Mobile.Service.ScheduledJobs.IScheduledJob Create (Microsoft.WindowsAzure.Mobile.Service.ScheduledJobs.ScheduledJobDescriptor jobDescriptor, System.Web.Http.Dependencies.IDependencyScope dependencyScope);
abstract member Create : Microsoft.WindowsAzure.Mobile.Service.ScheduledJobs.ScheduledJobDescriptor * System.Web.Http.Dependencies.IDependencyScope -> Microsoft.WindowsAzure.Mobile.Service.ScheduledJobs.IScheduledJob
Public Function Create (jobDescriptor As ScheduledJobDescriptor, dependencyScope As IDependencyScope) As IScheduledJob

Parameters

jobDescriptor
ScheduledJobDescriptor

The ScheduledJobDescriptor describing the scheduled job to be created.

dependencyScope
System.Web.Http.Dependencies.IDependencyScope

The given System.Web.Http.Dependencies.IDependencyScope in which to create the instance.

Returns

A newly created IScheduledJob instance.

Applies to