PrivilegeNotHeldException コンストラクター

定義

PrivilegeNotHeldException クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
PrivilegeNotHeldException()

PrivilegeNotHeldException クラスの新しいインスタンスを初期化します。

PrivilegeNotHeldException(String)

指定した特権を使用して、 PrivilegeNotHeldException クラスの新しいインスタンスを初期化します。

PrivilegeNotHeldException(String, Exception)

指定した例外を使用して、 PrivilegeNotHeldException クラスの新しいインスタンスを初期化します。

PrivilegeNotHeldException()

ソース:
PrivilegeNotHeldException.cs

PrivilegeNotHeldException クラスの新しいインスタンスを初期化します。

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

適用対象

PrivilegeNotHeldException(String)

ソース:
PrivilegeNotHeldException.cs

指定した特権を使用して、 PrivilegeNotHeldException クラスの新しいインスタンスを初期化します。

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)

パラメーター

privilege
String

有効になっていない特権。

適用対象

PrivilegeNotHeldException(String, Exception)

ソース:
PrivilegeNotHeldException.cs

指定した例外を使用して、 PrivilegeNotHeldException クラスの新しいインスタンスを初期化します。

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)

パラメーター

privilege
String

有効になっていない特権。

inner
Exception

現在の例外の原因である例外。 innerException パラメーターが null 参照でない場合 (Visual Basic ではNothing)、内部例外を処理するcatch ブロックで現在の例外が発生します。

適用対象