Language

MultipleMatchesException コンストラクター

定義

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

オーバーロード

Name 説明
MultipleMatchesException()

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

MultipleMatchesException(String)

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

MultipleMatchesException(SerializationInfo, StreamingContext)
古い.

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

MultipleMatchesException(String, Exception)

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

MultipleMatchesException()

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

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

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

注釈

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

適用対象

MultipleMatchesException(String)

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

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

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

パラメーター

message
String

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

注釈

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

適用対象

MultipleMatchesException(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.

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

protected:
 MultipleMatchesException(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 MultipleMatchesException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected MultipleMatchesException(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.MultipleMatchesException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.AccountManagement.MultipleMatchesException
new System.DirectoryServices.AccountManagement.MultipleMatchesException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.AccountManagement.MultipleMatchesException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

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

context
StreamingContext

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

属性

適用対象

MultipleMatchesException(String, Exception)

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

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

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

パラメーター

message
String

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

innerException
Exception

入れ子になった例外。

注釈

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

適用対象