Compartilhar via


WorkflowInfo Class

Definition

Provides information about a workflow that is stored in session state.

public ref class WorkflowInfo : System::Management::Automation::FunctionInfo
public class WorkflowInfo : System.Management.Automation.FunctionInfo
type WorkflowInfo = class
    inherit FunctionInfo
Public Class WorkflowInfo
Inherits FunctionInfo
Inheritance

Constructors

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

Creates an instance of the workflowInfo class with the specified name and ScriptBlock

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

Creates an instance of the workflowInfo class with the specified name and ScriptBlock

Properties

CmdletBinding

Returns true if this function uses cmdlet binding mode for its parameters; otherwise returns false.

(Inherited from FunctionInfo)
CommandType

Gets the type of the command.

(Inherited from CommandInfo)
DefaultParameterSet

Gets the name of the default parameter set. Returns null if this function doesn't use cmdlet parameter binding or if the default parameter set wasn't specified.

(Inherited from FunctionInfo)
Definition

Returns the definition of the workflow.

Description

Gets or sets the description associated with the function.

(Inherited from FunctionInfo)
HelpFile

Gets the help file path for the function.

(Inherited from FunctionInfo)
Module

The module that defines this cmdlet. This will be null for commands that are not defined in the context of a module.

(Inherited from CommandInfo)
ModuleName

The module name of this command. It will be empty for commands not imported from either a module or snapin.

(Inherited from CommandInfo)
Name

Gets the name of the command.

(Inherited from CommandInfo)
NestedXamlDefinition

Gets or sets the XAML that represents the definition of the workflow when called from another workflow.

Noun

Gets the noun of the function.

(Inherited from FunctionInfo)
Options

Gets or sets the scope options for the function.

(Inherited from FunctionInfo)
OutputType

The output type(s) is specified in the script block.

(Inherited from FunctionInfo)
Parameters

Return the parameters for this command.

(Inherited from CommandInfo)
ParameterSets

Gets the information about the parameters and parameter sets for this command.

(Inherited from CommandInfo)
RemotingCapability

The remoting capabilities of this cmdlet, when exposed in a context with ambient remoting.

(Inherited from CommandInfo)
ScriptBlock

Gets the ScriptBlock which is the implementation of the function.

(Inherited from FunctionInfo)
Source

Gets the source of the command (shown by default in Get-Command)

(Inherited from CommandInfo)
Verb

Gets the verb of the function.

(Inherited from FunctionInfo)
Version

Gets the source version (shown by default in Get-Command)

(Inherited from CommandInfo)
Visibility

Indicates if the command is to be allowed to be executed by a request external to the runspace.

(Inherited from CommandInfo)
WorkflowsCalled

Gets the XAML for workflows called by this workflow.

XamlDefinition

Gets the XAML that represents the definition of the workflow.

Methods

ResolveParameter(String)

Resolves a full, shortened, or aliased parameter name to the actual cmdlet parameter name, using PowerShell's standard parameter resolution algorithm.

(Inherited from CommandInfo)
ToString()

For diagnostic purposes.

(Inherited from CommandInfo)
Update(FunctionInfo, Boolean, ScopedItemOptions, String)

Update a workflow

Applies to