共用方式為


SessionStateWorkflowEntry Constructors

Definition

Overloads

SessionStateWorkflowEntry(String, String)

Represents a workflow definition in an Initial session state object.

SessionStateWorkflowEntry(String, String, String)

Represents a workflow definition in an Initial session state object.

SessionStateWorkflowEntry(String, String, ScopedItemOptions, String)

Represents a workflow definition in an Initial session state object.

SessionStateWorkflowEntry(String, String)

Represents a workflow definition in an Initial session state object.

public:
 SessionStateWorkflowEntry(System::String ^ name, System::String ^ definition);
public:
 SessionStateWorkflowEntry(Platform::String ^ name, Platform::String ^ definition);
 SessionStateWorkflowEntry(std::wstring const & name, std::wstring const & definition);
public SessionStateWorkflowEntry (string name, string definition);
new System.Management.Automation.Runspaces.SessionStateWorkflowEntry : string * string -> System.Management.Automation.Runspaces.SessionStateWorkflowEntry
Public Sub New (name As String, definition As String)

Parameters

name
String

The name of the workflow

definition
String

The definition of the workflow

Applies to

SessionStateWorkflowEntry(String, String, String)

Represents a workflow definition in an Initial session state object.

public:
 SessionStateWorkflowEntry(System::String ^ name, System::String ^ definition, System::String ^ helpFile);
public:
 SessionStateWorkflowEntry(Platform::String ^ name, Platform::String ^ definition, Platform::String ^ helpFile);
 SessionStateWorkflowEntry(std::wstring const & name, std::wstring const & definition, std::wstring const & helpFile);
public SessionStateWorkflowEntry (string name, string definition, string helpFile);
new System.Management.Automation.Runspaces.SessionStateWorkflowEntry : string * string * string -> System.Management.Automation.Runspaces.SessionStateWorkflowEntry
Public Sub New (name As String, definition As String, helpFile As String)

Parameters

name
String

The name of the workflow

definition
String

The definition of the workflow

helpFile
String

The name of the help file associated with the workflow

Applies to

SessionStateWorkflowEntry(String, String, ScopedItemOptions, String)

Represents a workflow definition in an Initial session state object.

public:
 SessionStateWorkflowEntry(System::String ^ name, System::String ^ definition, System::Management::Automation::ScopedItemOptions options, System::String ^ helpFile);
public SessionStateWorkflowEntry (string name, string definition, System.Management.Automation.ScopedItemOptions options, string helpFile);
new System.Management.Automation.Runspaces.SessionStateWorkflowEntry : string * string * System.Management.Automation.ScopedItemOptions * string -> System.Management.Automation.Runspaces.SessionStateWorkflowEntry
Public Sub New (name As String, definition As String, options As ScopedItemOptions, helpFile As String)

Parameters

name
String

The name of the workflow

definition
String

The definition of the workflow

options
ScopedItemOptions

Options controlling scope-related elements of this object

helpFile
String

The name of the help file associated with the workflow

Applies to