ProviderInfo Constructor (ProviderInfo)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Creates a new ProviderInfo object that uses another ProviderInfo object as a template.

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

protected ProviderInfo(
	ProviderInfo providerInfo
)

Parameters

providerInfo
Type: System.Management.Automation.ProviderInfo

A ProviderInfo object used to create this new object.

Exception Condition
ArgumentNullException

The providerInfo parameter is null.

This constructor should be used by derived types to copy the base class members from an existing ProviderInfo object. It is designed for use when implementing the CmdletProvider.Start method.

Return to top

Community Additions

ADD
Show: