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.

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


Type: System.Management.Automation.ProviderInfo

A ProviderInfo object used to create this new object.

Exception Condition

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