PSSecurityException Constructor

Initializes a new instance of the PSSecurityException class. The variants of this constructor can create an empty object, an object that contains an exception message, and more.

NameDescription
PSSecurityException ()Initializes a new instance of the PSSecurityException class that is empty.
PSSecurityException (SerializationInfo, StreamingContext)Initializes a new instance of the PSSecurityException class that contains information that is read from the provided serialization information.
PSSecurityException (String)Initializes a new instance of the PSSecurityException class that contains an exception message.
PSSecurityException (String, Exception)Initializes a new instance of the PSSecurityException class that contains an exception message and the inner exception that caused this exception to be thrown.

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