Udostępnij za pośrednictwem


ScheduledJobActivator.Create(ScheduledJobDescriptor, IDependencyScope) Metoda

Definicja

Utwórz nowe wystąpienie zaplanowanego zadania z danym jobDescriptor w ramach podanego dependencyScopeelementu .

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
override this.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

Parametry

jobDescriptor
ScheduledJobDescriptor

Opis ScheduledJobDescriptor zaplanowanego zadania do utworzenia.

dependencyScope
System.Web.Http.Dependencies.IDependencyScope

System.Web.Http.Dependencies.IDependencyScope Dane, w których ma zostać utworzone wystąpienie.

Zwraca

Nowo utworzone IScheduledJob wystąpienie.

Implementuje

Dotyczy