Partilhar via


ScheduledJobActivator.Create(ScheduledJobDescriptor, IDependencyScope) Método

Definição

Crie uma nova instância de uma tarefa agendada com um determinado jobDescriptor no .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
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

Parâmetros

jobDescriptor
ScheduledJobDescriptor

A ScheduledJobDescriptor descrição da tarefa agendada a ser criada.

dependencyScope
System.Web.Http.Dependencies.IDependencyScope

O dado System.Web.Http.Dependencies.IDependencyScope para criar a instância.

Devoluções

Uma instância recém-criada IScheduledJob .

Implementações

Aplica-se a