Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WorkflowInfo Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Provides information about a workflow that is stored in session state. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.Management.Automation.CommandInfo
    System.Management.Automation.FunctionInfo
      System.Management.Automation.WorkflowInfo

public class WorkflowInfo : FunctionInfo

NameDescription
System_CAPS_pubmethodWorkflowInfo(String, String, ScriptBlock, String, WorkflowInfo[])

Creates an instance of the workflowInfo class with the specified name and ScriptBlock. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodWorkflowInfo(String, String, ScriptBlock, String, WorkflowInfo[], PSModuleInfo)

Creates an instance of the workflowInfo class with the specified name and ScriptBlock. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubpropertyCmdletBinding

Gets a value that indicates whether the function uses the same parameter binding that compiled cmdlets use. This property is introduced in Windows PowerShell 2.0.(Inherited from FunctionInfo.)

System_CAPS_pubpropertyCommandType

Gets the Windows PowerShell defined type of the command, such as a cmdlet, function, filter, or script.(Inherited from CommandInfo.)

System_CAPS_pubpropertyDefaultParameterSet

Gets the name of the parameter set that is used if Windows PowerShell cannot determine which parameter set to use when the function is run. This property is introduced in Windows PowerShell 2.0.(Inherited from FunctionInfo.)

System_CAPS_pubpropertyDefinition

Returns the definition of the workflow. Introduced in Windows PowerShell 3.0.(Overrides FunctionInfo.Definition.)

System_CAPS_pubpropertyDescription

Gets or sets a description of the function. This property is introduced in Windows PowerShell 2.0.(Inherited from FunctionInfo.)

System_CAPS_pubpropertyHelpFile

Gets the help file path for the function. Introduced in Windows PowerShell 3.0.(Inherited from FunctionInfo.)

System_CAPS_pubpropertyModule

Gets information about the module that defines this command. This property is introduced in Windows PowerShell 2.0.(Inherited from CommandInfo.)

System_CAPS_pubpropertyModuleName

Gets the name of the module that defines the command. This property is introduced in Windows PowerShell 2.0.(Inherited from CommandInfo.)

System_CAPS_pubpropertyName

Gets the name of the command.(Inherited from CommandInfo.)

System_CAPS_pubpropertyNestedXamlDefinition

Gets or sets the XAML that represents the definition of the workflow when called from another workflow. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyNoun

Gets the noun of the function. Introduced in Windows PowerShell 3.0.(Inherited from FunctionInfo.)

System_CAPS_pubpropertyOptions

Gets or sets the scope options for the function.(Inherited from FunctionInfo.)

System_CAPS_pubpropertyOutputType

Gets the .NET Framework types returned by the function.(Inherited from FunctionInfo.)

System_CAPS_pubpropertyParameters

When overridden in a derived class, gets the parameters of the command. This property is introduced in Windows PowerShell 2.0.(Inherited from CommandInfo.)

System_CAPS_pubpropertyParameterSets

Gets information about the parameter sets associated with the command. This property is introduced in Windows PowerShell 2.0.(Inherited from CommandInfo.)

System_CAPS_pubpropertyRemotingCapability

Gets the remoting capabilities of this cmdlet when exposed in a context with ambient remoting. Introduced in Windows PowerShell 3.0.(Inherited from CommandInfo.)

System_CAPS_pubpropertyScriptBlock

Gets the implementation of the function.(Inherited from FunctionInfo.)

System_CAPS_pubpropertySource

Gets the command info source.(Inherited from CommandInfo.)

System_CAPS_pubpropertyVerb

Gets the verb of the function. Introduced in Windows PowerShell 3.0.(Inherited from FunctionInfo.)

System_CAPS_pubpropertyVersion

Gets the command info version.(Inherited from CommandInfo.)

System_CAPS_pubpropertyVisibility

When overridden in a derived class, gets or sets a constant that identifies whether the element is visible outside the runspace. For example, an element can be a private member of a module and therefore not visible to commands, such as pipeline commands, that are coming from outside the runspace. This property is introduced in Windows PowerShell 2.0.(Inherited from CommandInfo.)

System_CAPS_pubpropertyWorkflowsCalled

Gets the XAML for workflows called by this workflow. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyXamlDefinition

Gets the XAML that represents the definition of the workflow. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodResolveParameter(String)

Resolves a full, shortened, or aliased parameter name to the actual cmdlet parameter name, using the parameter resolution algorithm in Windows PowerShell. Introduced in Windows PowerShell 3.0.(Inherited from CommandInfo.)

System_CAPS_pubmethodToString()

Converts the information object of the derived class to a string. (Inherited from CommandInfo.)

System_CAPS_protmethodUpdate(FunctionInfo, Boolean, ScopedItemOptions, String)

Update a workflow. Introduced in Windows PowerShell 3.0.(Overrides FunctionInfo.Update(FunctionInfo, Boolean, ScopedItemOptions, String).)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: