共用方式為


IScheduledJobActivator.Create 方法

定義

使用提供的 dependencyScope 內指定的 jobDescriptor ,建立排程工作的新實例。

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

參數

jobDescriptor
ScheduledJobDescriptor

ScheduledJobDescriptor 描述要建立的排程工作。

dependencyScope
System.Web.Http.Dependencies.IDependencyScope

System.Web.Http.Dependencies.IDependencyScope要在其中建立 實例的 。

傳回

新建立的 IScheduledJob 執行個體。

適用於