StartJobManager Method
Enables jobs to be processed using a JobManager object.
Namespace: Microsoft.Web.Media.TransformManager
Assembly: Microsoft.Web.Media.TransformManager.ServiceLibrary (in Microsoft.Web.Media.TransformManager.ServiceLibrary.dll)
Syntax
'Declaration
<OperationContractAttribute> _
Sub StartJobManager ( _
jobDefinitionId As String _
)
'Usage
Dim instance As IManagementService
Dim jobDefinitionId As String
instance.StartJobManager(jobDefinitionId)
[OperationContractAttribute]
void StartJobManager(
string jobDefinitionId
)
[OperationContractAttribute]
void StartJobManager(
String^ jobDefinitionId
)
[<OperationContractAttribute>]
abstract StartJobManager :
jobDefinitionId:string -> unit
function StartJobManager(
jobDefinitionId : String
)
Parameters
- jobDefinitionId
Type: System. . :: . .String
The ID of the JobDefinition object that will be used to process jobs.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The job manager is in the process of shutting down. |
InvalidOperationException | The job manager is already running. |
UnauthorizedAccessException | The process was unable to create the watch folder. |
IOException | The process was unable to create the watch folder. |