ScheduledJobActivator.Create(ScheduledJobDescriptor, IDependencyScope) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用提供的 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
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
參數
- jobDescriptor
- ScheduledJobDescriptor
, ScheduledJobDescriptor 描述要建立的排程工作。
- dependencyScope
- System.Web.Http.Dependencies.IDependencyScope
System.Web.Http.Dependencies.IDependencyScope要在其中建立 實例的 。
傳回
新建立的 IScheduledJob 執行個體。