Adds job to job manager list.

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

Syntax

C#
public virtual JobInfo InternalSubmitJob(
	string name,
	int priority,
	int vcPercentAllocation,
	IEnumerable<string> resources,
	IEnumerable<string> embeddedFiles,
	string script
)
Visual Basic
Public Overridable Function InternalSubmitJob ( _
	name As String, _
	priority As Integer, _
	vcPercentAllocation As Integer, _
	resources As IEnumerable(Of String), _
	embeddedFiles As IEnumerable(Of String), _
	script As String _
) As JobInfo
Visual C++
public:
virtual JobInfo^ InternalSubmitJob(
	String^ name, 
	int priority, 
	int vcPercentAllocation, 
	IEnumerable<String^>^ resources, 
	IEnumerable<String^>^ embeddedFiles, 
	String^ script
)

Parameters

name
Type: String
Name of the job.
priority
Type: Int32
Priority of the job.
vcPercentAllocation
Type: Int32
VC percent allocation for the job
resources
Type: IEnumerable<(Of <(<'String>)>)>
Required stream list.
embeddedFiles
Type: IEnumerable<(Of <(<'String>)>)>
Files to copy before submission.
script
Type: String
Script to execute.

Return Value

[Missing <returns> documentation for "M:VcClient.Test.VirtualJobManager.InternalSubmitJob(System.String,System.Int32,System.Int32,System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String},System.String)"]

Exceptions

ExceptionCondition
ArgumentNullExceptionEither name or script is null.
ArgumentExceptionname is empty or contains whitespace only.
VcClientExceptions..::..JobSubmissionExceptionupload of one of embeddedFiles is failed or SubmitThrowsErrors is true.

See Also