Partager via


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 passing job parameters to disk.

public ref class JobInvocationInfo : System::Runtime::Serialization::ISerializable
[System.Serializable]
public class JobInvocationInfo : System.Runtime.Serialization.ISerializable
public class JobInvocationInfo : System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type JobInvocationInfo = class
    interface ISerializable
type JobInvocationInfo = class
    interface ISerializable
Public Class JobInvocationInfo
Implements ISerializable
Inheritance
JobInvocationInfo
Derived
Attributes
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, CommandParameterCollection)
JobInvocationInfo(JobDefinition, Dictionary<String,Object>)

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

JobInvocationInfo(JobDefinition, IEnumerable<CommandParameterCollection>)
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(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.

Applies to