JobInvocationInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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) |
JobInvocationInfo()
Constructor.
protected:
JobInvocationInfo();
protected:
JobInvocationInfo();
JobInvocationInfo();
protected JobInvocationInfo ();
Protected Sub New ()
Applies to
JobInvocationInfo(JobDefinition, Dictionary<String,Object>)
Create a new job definition with a single set of parameters.
public:
JobInvocationInfo(System::Management::Automation::JobDefinition ^ definition, System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^ parameters);
public JobInvocationInfo (System.Management.Automation.JobDefinition definition, System.Collections.Generic.Dictionary<string,object> parameters);
new System.Management.Automation.JobInvocationInfo : System.Management.Automation.JobDefinition * System.Collections.Generic.Dictionary<string, obj> -> System.Management.Automation.JobInvocationInfo
Public Sub New (definition As JobDefinition, parameters As Dictionary(Of String, Object))
Parameters
- definition
- JobDefinition
The job definition.
- parameters
- Dictionary<String,Object>
The parameter collection to use.
Applies to
JobInvocationInfo(JobDefinition, IEnumerable<Dictionary<String,Object>>)
Create a new job definition with a multiple sets of parameters. This allows different parameters for different machines.
public:
JobInvocationInfo(System::Management::Automation::JobDefinition ^ definition, System::Collections::Generic::IEnumerable<System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^> ^ parameterCollectionList);
public JobInvocationInfo (System.Management.Automation.JobDefinition definition, System.Collections.Generic.IEnumerable<System.Collections.Generic.Dictionary<string,object>> parameterCollectionList);
new System.Management.Automation.JobInvocationInfo : System.Management.Automation.JobDefinition * seq<System.Collections.Generic.Dictionary<string, obj>> -> System.Management.Automation.JobInvocationInfo
Public Sub New (definition As JobDefinition, parameterCollectionList As IEnumerable(Of Dictionary(Of String, Object)))
Parameters
- definition
- JobDefinition
The job definition.
- parameterCollectionList
- IEnumerable<Dictionary<String,Object>>
Collection of sets of parameters to use for the child jobs.
Applies to
JobInvocationInfo(JobDefinition, IEnumerable<CommandParameterCollection>)
public:
JobInvocationInfo(System::Management::Automation::JobDefinition ^ definition, System::Collections::Generic::IEnumerable<System::Management::Automation::Runspaces::CommandParameterCollection ^> ^ parameters);
public JobInvocationInfo (System.Management.Automation.JobDefinition definition, System.Collections.Generic.IEnumerable<System.Management.Automation.Runspaces.CommandParameterCollection> parameters);
new System.Management.Automation.JobInvocationInfo : System.Management.Automation.JobDefinition * seq<System.Management.Automation.Runspaces.CommandParameterCollection> -> System.Management.Automation.JobInvocationInfo
Public Sub New (definition As JobDefinition, parameters As IEnumerable(Of CommandParameterCollection))
Parameters
- definition
- JobDefinition
- parameters
- IEnumerable<CommandParameterCollection>
Applies to
JobInvocationInfo(JobDefinition, CommandParameterCollection)
public:
JobInvocationInfo(System::Management::Automation::JobDefinition ^ definition, System::Management::Automation::Runspaces::CommandParameterCollection ^ parameters);
public JobInvocationInfo (System.Management.Automation.JobDefinition definition, System.Management.Automation.Runspaces.CommandParameterCollection parameters);
new System.Management.Automation.JobInvocationInfo : System.Management.Automation.JobDefinition * System.Management.Automation.Runspaces.CommandParameterCollection -> System.Management.Automation.JobInvocationInfo
Public Sub New (definition As JobDefinition, parameters As CommandParameterCollection)
Parameters
- definition
- JobDefinition
- parameters
- CommandParameterCollection
Applies to
JobInvocationInfo(SerializationInfo, StreamingContext)
protected:
JobInvocationInfo(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected JobInvocationInfo (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Management.Automation.JobInvocationInfo : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Automation.JobInvocationInfo
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
- context
- StreamingContext