PrivilegeNotHeldException PrivilegeNotHeldException PrivilegeNotHeldException PrivilegeNotHeldException Constructors

Definition

Overloads

PrivilegeNotHeldException() PrivilegeNotHeldException() PrivilegeNotHeldException()

Initializes a new instance of the PrivilegeNotHeldException class.

PrivilegeNotHeldException(String) PrivilegeNotHeldException(String) PrivilegeNotHeldException(String) PrivilegeNotHeldException(String)

Initializes a new instance of the PrivilegeNotHeldException class by using the specified privilege.

PrivilegeNotHeldException(String, Exception) PrivilegeNotHeldException(String, Exception) PrivilegeNotHeldException(String, Exception) PrivilegeNotHeldException(String, Exception)

Initializes a new instance of the PrivilegeNotHeldException class by using the specified exception.

PrivilegeNotHeldException() PrivilegeNotHeldException() PrivilegeNotHeldException()

Initializes a new instance of the PrivilegeNotHeldException class.

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

PrivilegeNotHeldException(String) PrivilegeNotHeldException(String) PrivilegeNotHeldException(String) PrivilegeNotHeldException(String)

Initializes a new instance of the PrivilegeNotHeldException class by using the specified privilege.

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

Parameters

privilege
String String String String

The privilege that is not enabled.

PrivilegeNotHeldException(String, Exception) PrivilegeNotHeldException(String, Exception) PrivilegeNotHeldException(String, Exception) PrivilegeNotHeldException(String, Exception)

Initializes a new instance of the PrivilegeNotHeldException class by using the specified exception.

public:
 PrivilegeNotHeldException(System::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)

Parameters

privilege
String String String String

The privilege that is not enabled.

inner
Exception Exception Exception Exception

The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

Applies to