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

CmdletInvocationException Constructor

Creates a new CmdletInvocationException object. The variants of this constructor can be used to create an empty object, an object that contains an exception message, and more.

NameDescription
CmdletInvocationException ()Creates a new CmdletInvocationException object that is empty.
CmdletInvocationException (SerializationInfo, StreamingContext)Creates a new CmdletInvocationException object that contains information that is read from the provided serialization information.
CmdletInvocationException (String)Creates a new CmdletInvocationException object that contains an exception message.
CmdletInvocationException (String, Exception)Creates a new CmdletInvocationException that contains an exception message and the inner exception that caused this exception to be thrown.


Show:
© 2015 Microsoft