CancelJob Method

IIS 7.0

Cancels a job that is represented by the specified job ID and work queue name.

Namespace:  Microsoft.Web.Media.TransformManager
Assembly:  Microsoft.Web.Media.TransformManager.ServiceLibrary (in Microsoft.Web.Media.TransformManager.ServiceLibrary.dll)

[PrincipalPermissionAttribute(SecurityAction.Demand, Role = "Administrators")]
public JobStatus CancelJob(
	JobDetails jobDetails
)

Parameters

jobDetails
Type: Microsoft.Web.Media.TransformManager..::..JobDetails
An object that contains the ID of the job to cancel and the name of the work queue that the job is in.

Return Value

Type: Microsoft.Web.Media.TransformManager..::..JobStatus
The JobStatus object that corresponds to the action.

Implements

IMonitoringService..::..CancelJob(JobDetails)
Show: