MultipleMatchesException Konstruktory

Definicja

Tworzy nowe wystąpienie klasy MultipleMatchesException.

Przeciążenia

MultipleMatchesException()

Tworzy nowe wystąpienie klasy MultipleMatchesException.

MultipleMatchesException(String)

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

MultipleMatchesException(SerializationInfo, StreamingContext)
Przestarzałe.

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

MultipleMatchesException(String, Exception)

Tworzy wystąpienie nowej klasy MultipleMatchesException 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

Tworzy nowe wystąpienie 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. W przypadku tego komunikatu brane są pod uwagę bieżące ustawienia kulturowe systemu. Element InnerException jest inicjowany do null.

Dotyczy

MultipleMatchesException(String)

Ź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 z Message właściwością ustawioną na wartość message. Jeśli message jest nullto , 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

Przestroga

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

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

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}")]
protected MultipleMatchesException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.AccountManagement.MultipleMatchesException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.AccountManagement.MultipleMatchesException
[<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
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

Tworzy wystąpienie nowej klasy MultipleMatchesException 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 jest nullto , Message właściwość jest inicjowana do komunikatu dostarczonego przez system. Element InnerException jest inicjowany do null.

Dotyczy