次の方法で共有


NoMatchingPrincipalException コンストラクター

定義

NoMatchingPrincipalException クラスの新しいインスタンスをインスタンス化します。

オーバーロード

名前 説明
NoMatchingPrincipalException()

NoMatchingPrincipalException クラスの新しいインスタンスをインスタンス化します。

NoMatchingPrincipalException(String)

指定したエラー メッセージを使用して、 NoMatchingPrincipalException クラスの新しいインスタンスをインスタンス化します。

NoMatchingPrincipalException(SerializationInfo, StreamingContext)
古い.

指定したSerializationInfoおよびStreamingContextインスタンスから、NoMatchingPrincipalException クラスの新しいインスタンスを初期化します。

NoMatchingPrincipalException(String, Exception)

指定したエラー メッセージと指定した入れ子になった例外を使用して、 NoMatchingPrincipalException クラスの新しいインスタンスをインスタンス化します。

NoMatchingPrincipalException()

ソース:
exceptions.cs
ソース:
exceptions.cs
ソース:
exceptions.cs
ソース:
exceptions.cs

NoMatchingPrincipalException クラスの新しいインスタンスをインスタンス化します。

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

注釈

パラメーターなしのコンストラクターは、 NoMatchingPrincipalException クラスの新しいインスタンスを初期化します。 Message プロパティは、エラーを説明するシステム指定のメッセージに初期化されます。 このメッセージでは、現在のシステム カルチャが考慮されます。 InnerException プロパティは、nullに初期化されます。

適用対象

NoMatchingPrincipalException(String)

ソース:
exceptions.cs
ソース:
exceptions.cs
ソース:
exceptions.cs
ソース:
exceptions.cs

指定したエラー メッセージを使用して、 NoMatchingPrincipalException クラスの新しいインスタンスをインスタンス化します。

public:
 NoMatchingPrincipalException(System::String ^ message);
public NoMatchingPrincipalException(string message);
new System.DirectoryServices.AccountManagement.NoMatchingPrincipalException : string -> System.DirectoryServices.AccountManagement.NoMatchingPrincipalException
Public Sub New (message As String)

パラメーター

message
String

エラー メッセージのテキスト。

注釈

NoMatchingPrincipalException インスタンスは、Message プロパティを message の値に設定して初期化されます。 messagenullされている場合、Message プロパティはシステム指定のメッセージに初期化されます。

適用対象

NoMatchingPrincipalException(SerializationInfo, StreamingContext)

ソース:
exceptions.cs
ソース:
exceptions.cs
ソース:
exceptions.cs
ソース:
exceptions.cs

注意事項

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

指定したSerializationInfoおよびStreamingContextインスタンスから、NoMatchingPrincipalException クラスの新しいインスタンスを初期化します。

protected:
 NoMatchingPrincipalException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected NoMatchingPrincipalException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected NoMatchingPrincipalException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.DirectoryServices.AccountManagement.NoMatchingPrincipalException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.AccountManagement.NoMatchingPrincipalException
new System.DirectoryServices.AccountManagement.NoMatchingPrincipalException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.AccountManagement.NoMatchingPrincipalException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

新しいNoMatchingPrincipalExceptionをシリアル化するために必要な情報を含むSerializationInfo

context
StreamingContext

新しいNoMatchingPrincipalExceptionに関連付けられているシリアル化されたストリームのソースを含むStreamingContext

属性

適用対象

NoMatchingPrincipalException(String, Exception)

ソース:
exceptions.cs
ソース:
exceptions.cs
ソース:
exceptions.cs
ソース:
exceptions.cs

指定したエラー メッセージと指定した入れ子になった例外を使用して、 NoMatchingPrincipalException クラスの新しいインスタンスをインスタンス化します。

public:
 NoMatchingPrincipalException(System::String ^ message, Exception ^ innerException);
public NoMatchingPrincipalException(string message, Exception innerException);
new System.DirectoryServices.AccountManagement.NoMatchingPrincipalException : string * Exception -> System.DirectoryServices.AccountManagement.NoMatchingPrincipalException
Public Sub New (message As String, innerException As Exception)

パラメーター

message
String

メッセージのテキスト。

innerException
Exception

入れ子になった例外。

注釈

NoMatchingPrincipalException インスタンスは、Message プロパティを message の値に設定し、InnerException プロパティを innerException の値に設定して初期化します。 messagenullされている場合、Message プロパティはシステム指定のメッセージに初期化されます。 InnerExceptionは、nullに初期化されます。

適用対象