This function cancels a job with a given job ID.

Namespace: VcClient
Assembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)

Syntax

C#
public static void CancelJob(
	Guid jobId,
	string reason
)
Visual Basic
Public Shared Sub CancelJob ( _
	jobId As Guid, _
	reason As String _
)
Visual C++
public:
static void CancelJob(
	Guid jobId, 
	String^ reason
)

Parameters

jobId
Type: Guid
Job ID of the job which needs to be deleted.
reason
Type: String
The reason for cancelling the job

See Also