Dela via


IScheduledJobActivator.Create Metod

Definition

Skapa en ny instans av ett schemalagt jobb med en angiven jobDescriptor i den angivna 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

Parametrar

jobDescriptor
ScheduledJobDescriptor

Den ScheduledJobDescriptor som beskriver det schemalagda jobbet som ska skapas.

dependencyScope
System.Web.Http.Dependencies.IDependencyScope

Det angivna System.Web.Http.Dependencies.IDependencyScope som instansen ska skapas i.

Returer

En nyligen skapad IScheduledJob instans.

Gäller för