CmdletInvocationException Class

The exception that is thrown when a cmdlet encounters a terminating error.


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

'Usage
Dim instance As CmdletInvocationException

'Declaration
<SerializableAttribute> _
Public Class CmdletInvocationException
	Inherits RuntimeException
/** @attribute SerializableAttribute() */ 
public class CmdletInvocationException extends RuntimeException
SerializableAttribute 
public class CmdletInvocationException extends RuntimeException

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

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft