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)

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()

Inicjuje nowe wystąpienie klasy ComposablePartException.

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

Dotyczy

ComposablePartException(String)

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 Message właściwość na wartość domyślną.

Dotyczy

ComposablePartException(SerializationInfo, StreamingContext)

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);
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.

Wyjątki

info to null.

info Brakuje wymaganej wartości.

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

Dotyczy

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.

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 Message właściwość na wartość domyślną.

element
ICompositionElement

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

Dotyczy

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.

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 Message właściwość na wartość domyślną.

innerException
Exception

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

Dotyczy

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.

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 Message właściwość na wartość domyślną.

element
ICompositionElement

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

innerException
Exception

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

Dotyczy