This function gets the information about the job with a given job id and writes it to the given file.

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

Syntax

C#
public virtual void GetJobInfoFile(
	string jobId,
	bool compression,
	string fileName,
	bool overwrite
)
Visual Basic
Public Overridable Sub GetJobInfoFile ( _
	jobId As String, _
	compression As Boolean, _
	fileName As String, _
	overwrite As Boolean _
)
Visual C++
public:
virtual void GetJobInfoFile(
	String^ jobId, 
	bool compression, 
	String^ fileName, 
	bool overwrite
)

Parameters

jobId
Type: String
Id of the job for which the job information is required.
compression
Type: Boolean
Whether compression needs to be used while communicating with the VC.
fileName
Type: String
Name of the file to which the job information needs to be written to.
overwrite
Type: Boolean
If the file to which the job information needs to be written already exists, passing true for this parameter will delete the file and passing false will throw an exception.

Exceptions

ExceptionCondition
VcClientExceptions..::..VcClientException in a case of any error.
IOExceptionerror writing to file.
InvalidOperationExceptionIn a case of inconsistent state of job.

See Also