Udostępnij za pośrednictwem


ComposablePartException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy ComposablePartException.

Przeciążenia

ComposablePartException()

Inicjuje nowe wystąpienie klasy ComposablePartException.

ComposablePartException(String)

Inicjuje ComposablePartException nowe wystąpienie klasy z określonym komunikatem o błędzie.

ComposablePartException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje ComposablePartException nowe wystąpienie klasy z określonymi danymi serializacji.

ComposablePartException(String, ICompositionElement)

Inicjuje nowe wystąpienie ComposablePartException klasy z określonym komunikatem o błędzie i elementem kompozycji, który jest przyczyną wyjątku.

ComposablePartException(String, Exception)

Inicjuje nowe wystąpienie ComposablePartException klasy z określonym komunikatem o błędzie i wyjątkiem, który jest przyczyną tego wyjątku.

ComposablePartException(String, ICompositionElement, Exception)

Inicjuje nowe wystąpienie ComposablePartException klasy z określonym komunikatem o błędzie oraz elementem kompozycji i wyjątkiem, które są przyczyną tego wyjątku.

ComposablePartException()

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

Inicjuje nowe wystąpienie klasy ComposablePartException.

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

Dotyczy

ComposablePartException(String)

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

Inicjuje ComposablePartException nowe wystąpienie klasy z określonym komunikatem o błędzie.

public:
 ComposablePartException(System::String ^ message);
public ComposablePartException (string message);
public ComposablePartException (string? message);
new System.ComponentModel.Composition.Primitives.ComposablePartException : string -> System.ComponentModel.Composition.Primitives.ComposablePartException
Public Sub New (message As String)

Parametry

message
String

Komunikat opisujący ComposablePartExceptionwłaściwość lub null ustawiający jej wartość domyślną Message .

Dotyczy

ComposablePartException(SerializationInfo, StreamingContext)

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

Przestroga

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

Inicjuje ComposablePartException nowe wystąpienie klasy z określonymi danymi serializacji.

protected:
 ComposablePartException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ComposablePartException (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 ComposablePartException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ComponentModel.Composition.Primitives.ComposablePartException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ComponentModel.Composition.Primitives.ComposablePartException
[<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.ComponentModel.Composition.Primitives.ComposablePartException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ComponentModel.Composition.Primitives.ComposablePartException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parametry

info
SerializationInfo

Obiekt, który przechowuje serializowane dane obiektu dla obiektu ComposablePartException.

context
StreamingContext

Obiekt zawierający kontekstowe informacje o źródle lub miejscu docelowym.

Atrybuty

Wyjątki

info to null.

info Brak wymaganej wartości.

info zawiera wartość, której nie można rzutować do poprawnego typu.

Dotyczy

ComposablePartException(String, ICompositionElement)

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

Inicjuje nowe wystąpienie ComposablePartException klasy z określonym komunikatem o błędzie i elementem kompozycji, który jest przyczyną wyjątku.

public:
 ComposablePartException(System::String ^ message, System::ComponentModel::Composition::Primitives::ICompositionElement ^ element);
public ComposablePartException (string message, System.ComponentModel.Composition.Primitives.ICompositionElement element);
public ComposablePartException (string? message, System.ComponentModel.Composition.Primitives.ICompositionElement? element);
new System.ComponentModel.Composition.Primitives.ComposablePartException : string * System.ComponentModel.Composition.Primitives.ICompositionElement -> System.ComponentModel.Composition.Primitives.ComposablePartException
Public Sub New (message As String, element As ICompositionElement)

Parametry

message
String

Komunikat opisujący ComposablePartExceptionwłaściwość lub null ustawiający jej wartość domyślną Message .

element
ICompositionElement

Element kompozycji, który jest przyczyną ComposablePartException, lub null ustawić Element właściwość na null.

Dotyczy

ComposablePartException(String, Exception)

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

Inicjuje nowe wystąpienie ComposablePartException klasy z określonym komunikatem o błędzie i wyjątkiem, który jest przyczyną tego wyjątku.

public:
 ComposablePartException(System::String ^ message, Exception ^ innerException);
public ComposablePartException (string message, Exception innerException);
public ComposablePartException (string? message, Exception? innerException);
new System.ComponentModel.Composition.Primitives.ComposablePartException : string * Exception -> System.ComponentModel.Composition.Primitives.ComposablePartException
Public Sub New (message As String, innerException As Exception)

Parametry

message
String

Komunikat opisujący ComposablePartExceptionwłaściwość lub null ustawiający jej wartość domyślną Message .

innerException
Exception

Wyjątek, który jest podstawową przyczyną ComposablePartException, lub null , aby ustawić InnerException właściwość na null.

Dotyczy

ComposablePartException(String, ICompositionElement, Exception)

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

Inicjuje nowe wystąpienie ComposablePartException klasy z określonym komunikatem o błędzie oraz elementem kompozycji i wyjątkiem, które są przyczyną tego wyjątku.

public:
 ComposablePartException(System::String ^ message, System::ComponentModel::Composition::Primitives::ICompositionElement ^ element, Exception ^ innerException);
public ComposablePartException (string message, System.ComponentModel.Composition.Primitives.ICompositionElement element, Exception innerException);
public ComposablePartException (string? message, System.ComponentModel.Composition.Primitives.ICompositionElement? element, Exception? innerException);
new System.ComponentModel.Composition.Primitives.ComposablePartException : string * System.ComponentModel.Composition.Primitives.ICompositionElement * Exception -> System.ComponentModel.Composition.Primitives.ComposablePartException
Public Sub New (message As String, element As ICompositionElement, innerException As Exception)

Parametry

message
String

Komunikat opisujący ComposablePartExceptionwłaściwość lub null ustawiający jej wartość domyślną Message .

element
ICompositionElement

Element kompozycji, który jest przyczyną ComposablePartException, lub null ustawić Element właściwość na null.

innerException
Exception

Wyjątek, który jest podstawową przyczyną ComposablePartException, lub null , aby ustawić InnerException właściwość na null.

Dotyczy