Export (0) Print
Expand All

CmdletProvider Members

Serves as a base class for all derived provider classes.

The following tables list the members exposed by the CmdletProvider type.

  Name Description
  CmdletProvider Creates a new CmdletProvider object.
Top

(see also Protected Properties)
 NameDescription
public propertyCredentialGets the credentials used by the provider to perform its operations.
public propertyCurrentPSTransactionGets information about the current active transaction.
public propertyExcludeGets the wildcard patterns that are used to determine which items are excluded when performing an action.
public propertyFilterGets the provider-specific filter supplied by the caller.
public propertyForceGets a Boolean value that indicates whether the provider should do everything possible to perform an operation.
public propertyHostGets the host that is used as the interface between the Windows PowerShell runtime and the user. The Windows PowerShell runtime uses this host to communicate to the user.
public propertyIncludeGets the wildcard patterns used to determine which items will be included when performing an action.
public propertyInvokeCommandGets the instance of the command invocation application programming interfaces (APIs) for the current runspace.
public propertyInvokeProviderGets the instance of the provider interface APIs for the current runspace.
public propertySessionStateGets the global session state for the current runspace.
public propertyStoppingGets a Boolean value that indicates whether a stop request has been made on the provider.
Top

  Name Description
protected property DynamicParameters Gets the dynamic parameters object populated with the values specified by the user.
protected property PSDriveInfo Gets the drive that is being used for the current operation.
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetResourceStringGets a resource string that corresponds to the specified resource base key and identifier.
public methodGetType  (Inherited from Object)
public methodShouldContinueOverloaded. Sends a query to the user to confirm that the operation should be performed. The variants of this method can send the query with or without providing yes-to-all and no-to-all options.
public methodShouldProcessOverloaded. Confirms an operation with the user by sending a query to the user. The variants of this method can be used to send the name of the resource to be changed; send the resource name and the action to be taken; and send a description of the action to be taken, a query asking whether the action should be taken, and a caption.
public methodThrowTerminatingErrorSends an error record to Windows PowerShell when a terminating error occurs and the provider cannot continue.
public methodToString  (Inherited from Object)
public methodTransactionAvailableDetermines if there is a transaction available for the provider. Transactions are started by running the Start-Transaction cmdlet. This method is introduced in Windows PowerShell 2.0.
public methodWriteDebugWrites a debug message to the host application.
public methodWriteErrorWrites a nonterminating error record to the error pipeline when the provider encounters an error but can still continue to process records.
public methodWriteItemObjectWrites an item to the output as a PSObject object with extra data attached as notes.
public methodWriteProgressWrites a progress record to the host application.
public methodWritePropertyObjectWrites a property object to the output as a PSObject with extra data attached as notes.
public methodWriteSecurityDescriptorObjectWrites a security descriptor object to the output as a PSObject object with extra data attached as notes.
public methodWriteVerboseWrites a general user-level message to the host application.
public methodWriteWarningDisplays warning information.
Top

(see also Extension Methods)
 NameDescription
protected methodFinalize  (Inherited from Object)
protected methodMemberwiseClone  (Inherited from Object)
protected methodStartStarts the specified provider. This method is called by the Windows PowerShell runtime to initialize the provider when the provider is loaded into a session.
protected methodStartDynamicParametersAdds parameter definitions to the Start method implemented by the provider. These dynamic parameters are added at runtime based on conditions specified by the Start method.
protected methodStopFrees resources before the provider is removed from the runspace. The Windows PowerShell runtime calls this method to allow the provider a chance to stop and clean up its resources before the runtime removes the provider.
Top

  Name Description
public extension method As  Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
Top


Show:
© 2015 Microsoft