CmdletProviderInvocationException 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.
Indicates that a cmdlet hit a terminating error of type ProviderInvocationException. This is generally reported from the standard provider navigation cmdlets such as get-childitem.
public ref class CmdletProviderInvocationException : System::Management::Automation::CmdletInvocationException
[System.Serializable]
public class CmdletProviderInvocationException : System.Management.Automation.CmdletInvocationException
public class CmdletProviderInvocationException : System.Management.Automation.CmdletInvocationException
[<System.Serializable>]
type CmdletProviderInvocationException = class
inherit CmdletInvocationException
type CmdletProviderInvocationException = class
inherit CmdletInvocationException
Public Class CmdletProviderInvocationException
Inherits CmdletInvocationException
- Inheritance
- Attributes
Constructors
CmdletProviderInvocationException() |
Instantiates a new instance of the CmdletProviderInvocationException class. |
CmdletProviderInvocationException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the CmdletProviderInvocationException class using data serialized via ISerializable |
CmdletProviderInvocationException(String) |
Instantiates a new instance of the CmdletProviderInvocationException class. |
CmdletProviderInvocationException(String, Exception) |
Instantiates a new instance of the CmdletProviderInvocationException class. |
Properties
ErrorRecord |
The error reported by the cmdlet. (Inherited from CmdletInvocationException) |
ProviderInfo |
This is the ProviderInfo associated with the provider which generated the error. |
ProviderInvocationException |
InnerException as ProviderInvocationException. |
WasThrownFromThrowStatement | (Inherited from RuntimeException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Serializer for ISerializable (Inherited from CmdletInvocationException) |