Export (0) Print
Expand All

PSArgumentException Constructor

Creates a new PSArgumentException object. The variants of this constructor can create an empty object, an object that contains the parameter that has the argument that is not valid, and more.

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


Show:
© 2014 Microsoft