PrivilegeNotHeldException Konstruktorer

Definition

Initierar en ny instans av PrivilegeNotHeldException klassen.

Överlagringar

Name Description
PrivilegeNotHeldException()

Initierar en ny instans av PrivilegeNotHeldException klassen.

PrivilegeNotHeldException(String)

Initierar en ny instans av PrivilegeNotHeldException klassen med den angivna behörigheten.

PrivilegeNotHeldException(String, Exception)

Initierar en ny instans av PrivilegeNotHeldException klassen med hjälp av det angivna undantaget.

PrivilegeNotHeldException()

Källa:
PrivilegeNotHeldException.cs

Initierar en ny instans av PrivilegeNotHeldException klassen.

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

Gäller för

PrivilegeNotHeldException(String)

Källa:
PrivilegeNotHeldException.cs

Initierar en ny instans av PrivilegeNotHeldException klassen med den angivna behörigheten.

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)

Parametrar

privilege
String

Behörigheten som inte är aktiverad.

Gäller för

PrivilegeNotHeldException(String, Exception)

Källa:
PrivilegeNotHeldException.cs

Initierar en ny instans av PrivilegeNotHeldException klassen med hjälp av det angivna undantaget.

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)

Parametrar

privilege
String

Behörigheten som inte är aktiverad.

inner
Exception

Undantaget som är orsaken till det aktuella undantaget. Om parametern innerException inte är en null-referens (Nothing i Visual Basic) genereras det aktuella undantaget i ett catch-block som hanterar det inre undantaget.

Gäller för