Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ProviderInvocationException Class

The exception that is thrown when a provider encounters an error.


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

'Usage
Dim instance As ProviderInvocationException

[SerializableAttribute] 
public class ProviderInvocationException : RuntimeException
/** @attribute SerializableAttribute() */ 
public class ProviderInvocationException extends RuntimeException
SerializableAttribute 
public class ProviderInvocationException extends RuntimeException

For example, this exception is thrown when the provider encounters an error when it is trying to resolve a path.


System.Object
   System.Exception
     System.SystemException
       System.Management.Automation.RuntimeException
        System.Management.Automation.ProviderInvocationException

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2015 Microsoft