Marks Queued job as completed and sets
EndTime.
Namespace: VcClient.TestAssembly: 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
Exception | Condition |
---|
InvalidOperationException | Job not in Running state. |
VcClientExceptions..::..JobNotFoundException | jobId is not found. |
ArgumentNullException | errorText is null. |
ArgumentException | errorText ie mpty or contains
whitespace only. |
See Also