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.

SessionStateProviderEntry Constructor (String, Type, String)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Creates a new SessionStateProviderEntry object that contains the name, the .NET Framework type of the provider class, and the Help file of the provider. This constructor is introduced by Windows PowerShell 2.0.

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

public SessionStateProviderEntry(
	string name,
	Type implementingType,
	string helpFileName
)

Parameters

name
Type: System.String

The name of the provider.

implementingType
Type: System.Type

The .NET Framework type of the provider class where the provider is implemented.

helpFileName
Type: System.String

The name of the Help file for the provider.

The provider entry is added to the initial session state through the Providers property of the InitialSessionState object.

Return to top

Community Additions

Show: