Język

MultipleMatchesException Konstruktory

Definicja

Tworzy wystąpienie nowej klasy MultipleMatchesException .

Przeciążenia

Nazwisko Opis
MultipleMatchesException()

Tworzy wystąpienie nowej klasy MultipleMatchesException .

MultipleMatchesException(String)

Tworzy wystąpienie nowej klasy MultipleMatchesException z określonym komunikatem o błędzie.

MultipleMatchesException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje nowe wystąpienie MultipleMatchesException klasy z określonych SerializationInfo wystąpień i StreamingContext .

MultipleMatchesException(String, Exception)

Tworzy wystąpienie nowego wystąpienia MultipleMatchesException klasy z określonym komunikatem o błędzie i określonym zagnieżdżonym wyjątkiem.

MultipleMatchesException()

Źródło:
exceptions.cs
Źródło:
exceptions.cs
Źródło:
exceptions.cs
Źródło:
exceptions.cs

Tworzy wystąpienie nowej klasy MultipleMatchesException .

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

Uwagi

Konstruktor bez parametrów inicjuje nowe wystąpienie MultipleMatchesException klasy. Właściwość Message jest inicjowana do komunikatu dostarczonego przez system, który opisuje błąd. Ten komunikat uwzględnia bieżącą kulturę systemu. Element InnerException jest inicjowany na .null

Dotyczy

MultipleMatchesException(String)

Źródło:
exceptions.cs
Źródło:
exceptions.cs
Źródło:
exceptions.cs
Źródło:
exceptions.cs

Tworzy wystąpienie nowej klasy MultipleMatchesException z określonym komunikatem o błędzie.

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)

Parametry

message
String

Tekst komunikatu o błędzie.

Uwagi

Wystąpienie MultipleMatchesException jest inicjowane za Message pomocą właściwości ustawionej na wartość message. Jeśli message parametr to null, Message właściwość jest inicjowana do komunikatu dostarczonego przez system.

Dotyczy

MultipleMatchesException(SerializationInfo, StreamingContext)

Źródło:
exceptions.cs
Źródło:
exceptions.cs
Źródło:
exceptions.cs
Źródło:
exceptions.cs

Uwaga

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

Inicjuje nowe wystąpienie MultipleMatchesException klasy z określonych SerializationInfo wystąpień i 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)

Parametry

info
SerializationInfo

Element SerializationInfo zawierający informacje wymagane do serializacji nowego MultipleMatchesExceptionelementu .

context
StreamingContext

Element StreamingContext zawierający źródło serializowanego strumienia skojarzonego z nowym MultipleMatchesExceptionelementem .

Atrybuty

Dotyczy

MultipleMatchesException(String, Exception)

Źródło:
exceptions.cs
Źródło:
exceptions.cs
Źródło:
exceptions.cs
Źródło:
exceptions.cs

Tworzy wystąpienie nowego wystąpienia MultipleMatchesException klasy z określonym komunikatem o błędzie i określonym zagnieżdżonym wyjątkiem.

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)

Parametry

message
String

Tekst komunikatu o błędzie.

innerException
Exception

Wyjątek zagnieżdżony.

Uwagi

Wystąpienie MultipleMatchesException jest inicjowane z Message właściwością ustawioną na wartość message i InnerException właściwość ustawioną na wartość innerException. Jeśli message parametr to null, Message właściwość jest inicjowana do komunikatu dostarczonego przez system. Element InnerException jest inicjowany na .null

Dotyczy