Freigeben über


PSSecurityException Class

Definition

This is a wrapper for exception class SecurityException.

public ref class PSSecurityException : System::Management::Automation::RuntimeException
[System.Serializable]
public class PSSecurityException : System.Management.Automation.RuntimeException
public class PSSecurityException : System.Management.Automation.RuntimeException
[<System.Serializable>]
type PSSecurityException = class
    inherit RuntimeException
type PSSecurityException = class
    inherit RuntimeException
Public Class PSSecurityException
Inherits RuntimeException
Inheritance
PSSecurityException
Attributes

Constructors

PSSecurityException()

Recommended constructor for class PSSecurityException.

PSSecurityException(SerializationInfo, StreamingContext)
Obsolete.

Serialization constructor for class PSSecurityException.

PSSecurityException(String, Exception)

Constructor for class PSSecurityException.

PSSecurityException(String)

Constructor for class PSSecurityException.

Properties

ErrorRecord

Gets the ErrorRecord information for this exception.

Message

Exception.Message is get-only, but you can effectively set it in a subclass by overriding this virtual property.

WasThrownFromThrowStatement (Inherited from RuntimeException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serializer for ISerializable

(Inherited from RuntimeException)

Applies to