Megosztás a következőn keresztül:


CmdletProviderAttribute(String, ProviderCapabilities) Constructor

Definition

Constructor for the attribute.

public:
 CmdletProviderAttribute(System::String ^ providerName, System::Management::Automation::Provider::ProviderCapabilities providerCapabilities);
public CmdletProviderAttribute (string providerName, System.Management.Automation.Provider.ProviderCapabilities providerCapabilities);
new System.Management.Automation.Provider.CmdletProviderAttribute : string * System.Management.Automation.Provider.ProviderCapabilities -> System.Management.Automation.Provider.CmdletProviderAttribute
Public Sub New (providerName As String, providerCapabilities As ProviderCapabilities)

Parameters

providerName
String

The provider name.

providerCapabilities
ProviderCapabilities

An enumeration of the capabilities that the provider implements beyond the default capabilities that are required.

Exceptions

If providerName is null or empty.

If providerName contains any of the following characters: \ [ ] ? * :

Applies to