ProviderInvocationException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An exception that wraps all exceptions that are thrown by providers. This allows callers of the provider APIs to be able to catch a single exception no matter what any of the various providers may have thrown.
public ref class ProviderInvocationException : System::Management::Automation::RuntimeException
[System.Serializable]
public class ProviderInvocationException : System.Management.Automation.RuntimeException
public class ProviderInvocationException : System.Management.Automation.RuntimeException
[<System.Serializable>]
type ProviderInvocationException = class
inherit RuntimeException
type ProviderInvocationException = class
inherit RuntimeException
Public Class ProviderInvocationException
Inherits RuntimeException
- Inheritance
- Attributes
Constructors
ProviderInvocationException() |
Constructs a ProviderInvocationException. |
ProviderInvocationException(SerializationInfo, StreamingContext) |
Obsolete.
Constructs a ProviderInvocationException using serialized data. |
ProviderInvocationException(String, Exception) |
Constructs a ProviderInvocationException with a message and inner exception. |
ProviderInvocationException(String) |
Constructs a ProviderInvocationException with a message. |
Properties
ErrorRecord |
Gets the error record. |
Message |
Gets the exception message. |
ProviderInfo |
Gets the provider information of the provider that threw an exception. |
WasThrownFromThrowStatement | (Inherited from RuntimeException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Serializer for ISerializable (Inherited from RuntimeException) |