Compartilhar via


SessionStateAssemblyEntry Constructors

Definition

Overloads

SessionStateAssemblyEntry(String)

Create a named entry for the assembly to load, specifying just the name.

SessionStateAssemblyEntry(String, String)

Create a named entry for the assembly to load with both the name and the path to the assembly as a backup.

SessionStateAssemblyEntry(String)

Create a named entry for the assembly to load, specifying just the name.

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

Parameters

name
String

The name of the assembly to load.

Applies to

SessionStateAssemblyEntry(String, String)

Create a named entry for the assembly to load with both the name and the path to the assembly as a backup.

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

Parameters

name
String

The name of the assembly to load.

fileName
String

The path to the assembly to use as an alternative.

Applies to