If job is running method marks job as canceled and Also sets EndTime to Now. If status is queued - deletes it from the list. For other status it throws an exception.

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

Syntax

C#
[ObsoleteAttribute("Use CancelJob instead.")]
public virtual void DeleteJob(
	string jobId
)
Visual Basic
<ObsoleteAttribute("Use CancelJob instead.")> _
Public Overridable Sub DeleteJob ( _
	jobId As String _
)
Visual C++
[ObsoleteAttribute(L"Use CancelJob instead.")]
public:
virtual void DeleteJob(
	String^ jobId
)

Parameters

jobId
Type: String
Job id of the job which needs to be deleted.

Exceptions

ExceptionCondition
VcClientExceptions..::..VcClientException in a case of any error.

See Also