PrivilegeNotHeldException Konstruktoren

Definition

Initialisiert eine neue Instanz der PrivilegeNotHeldException-Klasse.

Überlädt

PrivilegeNotHeldException()

Initialisiert eine neue Instanz der PrivilegeNotHeldException-Klasse.

PrivilegeNotHeldException(String)

Initialisiert eine neue Instanz der PrivilegeNotHeldException-Klasse unter Verwendung der angegebenen Berechtigung.

PrivilegeNotHeldException(String, Exception)

Initialisiert eine neue Instanz der PrivilegeNotHeldException-Klasse unter Verwendung der angegebenen Ausnahme.

PrivilegeNotHeldException()

Initialisiert eine neue Instanz der PrivilegeNotHeldException-Klasse.

public:
 PrivilegeNotHeldException();
public PrivilegeNotHeldException ();
Public Sub New ()

Gilt für

PrivilegeNotHeldException(String)

Initialisiert eine neue Instanz der PrivilegeNotHeldException-Klasse unter Verwendung der angegebenen Berechtigung.

public:
 PrivilegeNotHeldException(System::String ^ privilege);
public PrivilegeNotHeldException (string privilege);
public PrivilegeNotHeldException (string? privilege);
new System.Security.AccessControl.PrivilegeNotHeldException : string -> System.Security.AccessControl.PrivilegeNotHeldException
Public Sub New (privilege As String)

Parameter

privilege
String

Die nicht aktivierte Berechtigung.

Gilt für

PrivilegeNotHeldException(String, Exception)

Initialisiert eine neue Instanz der PrivilegeNotHeldException-Klasse unter Verwendung der angegebenen Ausnahme.

public:
 PrivilegeNotHeldException(System::String ^ privilege, Exception ^ inner);
public PrivilegeNotHeldException (string privilege, Exception inner);
public PrivilegeNotHeldException (string? privilege, Exception? inner);
new System.Security.AccessControl.PrivilegeNotHeldException : string * Exception -> System.Security.AccessControl.PrivilegeNotHeldException
Public Sub New (privilege As String, inner As Exception)

Parameter

privilege
String

Die nicht aktivierte Berechtigung.

inner
Exception

Die Ausnahme, die die Ursache der aktuellen Ausnahme ist. Wenn der Parameter innerException kein NULL-Verweis ist (Nothing in Visual Basic), wird die aktuelle Ausnahme in einem catch-Block ausgelöst, der die innere Ausnahme behandelt.

Gilt für