JobInvocationInfo Class

Definition

Class that helps define the parameters to be passed to a job so that the job can be instantiated without having to specify the parameters explicitly. Helps in passivating job parameters to disk

public class JobInvocationInfo : System.Runtime.Serialization.ISerializable
Inheritance
JobInvocationInfo
Implements

Remarks

This class is not required if CommandParameterCollection adds a public constructor.The actual implementation of this class will happen in M2

Constructors

JobInvocationInfo()

Constructor.

JobInvocationInfo(JobDefinition, Dictionary<String,Object>)

Create a new job definition with a single set of parameters.

JobInvocationInfo(JobDefinition, IEnumerable<Dictionary<String,Object>>)

Create a new job definition with a multiple sets of parameters. This allows different parameters for different machines.

JobInvocationInfo(JobDefinition, IEnumerable<CommandParameterCollection>)
JobInvocationInfo(JobDefinition, CommandParameterCollection)
JobInvocationInfo(SerializationInfo, StreamingContext)

Properties

Command

Command string to execute.

Definition

Definition associated with the job

InstanceId

Unique identifies for this specification

Name

Friendly name associated with this specification

Parameters

Parameters associated with this specification

Methods

GetObjectData(SerializationInfo, StreamingContext)
Load(Stream)

Load this specification from a file

Save(Stream)

Save this specification to a file