SessionStateFunctionEntry 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
SessionStateFunctionEntry(String, String) |
Represents a function definition in an Initial session state object. |
SessionStateFunctionEntry(String, String, String) |
Represents a function definition in an Initial session state object. |
SessionStateFunctionEntry(String, String, ScopedItemOptions, String) |
Represents a function definition in an Initial session state object. |
SessionStateFunctionEntry(String, String)
Represents a function definition in an Initial session state object.
public:
SessionStateFunctionEntry(System::String ^ name, System::String ^ definition);
public:
SessionStateFunctionEntry(Platform::String ^ name, Platform::String ^ definition);
SessionStateFunctionEntry(std::wstring const & name, std::wstring const & definition);
public SessionStateFunctionEntry (string name, string definition);
new System.Management.Automation.Runspaces.SessionStateFunctionEntry : string * string -> System.Management.Automation.Runspaces.SessionStateFunctionEntry
Public Sub New (name As String, definition As String)
Parameters
- name
- String
The name of the function.
- definition
- String
The definition of the function.
Applies to
SessionStateFunctionEntry(String, String, String)
Represents a function definition in an Initial session state object.
public:
SessionStateFunctionEntry(System::String ^ name, System::String ^ definition, System::String ^ helpFile);
public:
SessionStateFunctionEntry(Platform::String ^ name, Platform::String ^ definition, Platform::String ^ helpFile);
SessionStateFunctionEntry(std::wstring const & name, std::wstring const & definition, std::wstring const & helpFile);
public SessionStateFunctionEntry (string name, string definition, string helpFile);
new System.Management.Automation.Runspaces.SessionStateFunctionEntry : string * string * string -> System.Management.Automation.Runspaces.SessionStateFunctionEntry
Public Sub New (name As String, definition As String, helpFile As String)
Parameters
- name
- String
The name of the function.
- definition
- String
The definition of the function.
- helpFile
- String
The name of the help file associated with the function.
Applies to
SessionStateFunctionEntry(String, String, ScopedItemOptions, String)
Represents a function definition in an Initial session state object.
public:
SessionStateFunctionEntry(System::String ^ name, System::String ^ definition, System::Management::Automation::ScopedItemOptions options, System::String ^ helpFile);
public SessionStateFunctionEntry (string name, string definition, System.Management.Automation.ScopedItemOptions options, string helpFile);
new System.Management.Automation.Runspaces.SessionStateFunctionEntry : string * string * System.Management.Automation.ScopedItemOptions * string -> System.Management.Automation.Runspaces.SessionStateFunctionEntry
Public Sub New (name As String, definition As String, options As ScopedItemOptions, helpFile As String)
Parameters
- name
- String
The name of the function.
- definition
- String
The definition of the function.
- options
- ScopedItemOptions
Options controlling scope-related elements of this object.
- helpFile
- String
The name of the help file associated with the function.