Marks Queued job as completed and sets EndTime.

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

Syntax

C#
public virtual void InternalFailJob(
	Guid jobId,
	string errorText
)
Visual Basic
Public Overridable Sub InternalFailJob ( _
	jobId As Guid, _
	errorText As String _
)
Visual C++
public:
virtual void InternalFailJob(
	Guid jobId, 
	String^ errorText
)

Parameters

jobId
Type: Guid
ID of job to modify.
errorText
Type: String
Sets Error member.

Exceptions

ExceptionCondition
InvalidOperationExceptionJob not in Running state.
VcClientExceptions..::..JobNotFoundExceptionjobId is not found.
ArgumentNullExceptionerrorText is null.
ArgumentExceptionerrorText ie mpty or contains whitespace only.

See Also