CompositionError Oluşturucular

Tanım

CompositionError sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

CompositionError(String)

Belirtilen hata iletisiyle sınıfının yeni bir örneğini CompositionError başlatır.

CompositionError(String, ICompositionElement)

Belirtilen hata iletisi ve oluşturma hatasının CompositionError nedeni olan oluşturma öğesi ile sınıfının yeni bir örneğini başlatır.

CompositionError(String, Exception)

Belirtilen hata iletisi ve oluşturma hatasının CompositionError nedeni olan özel durum ile sınıfının yeni bir örneğini başlatır.

CompositionError(String, ICompositionElement, Exception)

Belirtilen hata iletisi ve oluşturma hatasının CompositionError nedeni olan oluşturma öğesi ve özel durumu ile sınıfının yeni bir örneğini başlatır.

CompositionError(String)

Kaynak:
CompositionError.cs
Kaynak:
CompositionError.cs
Kaynak:
CompositionError.cs

Belirtilen hata iletisiyle sınıfının yeni bir örneğini CompositionError başlatır.

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

Parametreler

message
String

veya null özelliğini boş bir dize ("") olarak ayarlamayı Description açıklayan CompositionError bir ileti.

Şunlara uygulanır

CompositionError(String, ICompositionElement)

Kaynak:
CompositionError.cs
Kaynak:
CompositionError.cs
Kaynak:
CompositionError.cs

Belirtilen hata iletisi ve oluşturma hatasının CompositionError nedeni olan oluşturma öğesi ile sınıfının yeni bir örneğini başlatır.

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

Parametreler

message
String

veya null özelliğini boş bir dize ("") olarak ayarlamayı Description açıklayan CompositionError bir ileti.

element
ICompositionElement

veya null özelliğini nullolarak ayarlamanın CompositionErrorElement nedeni olan bileşim öğesi.

Şunlara uygulanır

CompositionError(String, Exception)

Kaynak:
CompositionError.cs
Kaynak:
CompositionError.cs
Kaynak:
CompositionError.cs

Belirtilen hata iletisi ve oluşturma hatasının CompositionError nedeni olan özel durum ile sınıfının yeni bir örneğini başlatır.

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

Parametreler

message
String

veya null özelliğini boş bir dize ("") olarak ayarlamayı Description açıklayan CompositionError bir ileti.

exception
Exception

veya özelliğini olarak ayarlamak Exception için temel alınan nedenidirCompositionError.nullnullException

Şunlara uygulanır

CompositionError(String, ICompositionElement, Exception)

Kaynak:
CompositionError.cs
Kaynak:
CompositionError.cs
Kaynak:
CompositionError.cs

Belirtilen hata iletisi ve oluşturma hatasının CompositionError nedeni olan oluşturma öğesi ve özel durumu ile sınıfının yeni bir örneğini başlatır.

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

Parametreler

message
String

veya null özelliğini boş bir dize ("") olarak ayarlamayı Description açıklayan CompositionError bir ileti.

element
ICompositionElement

veya null özelliğini nullolarak ayarlamanın CompositionErrorElement nedeni olan bileşim öğesi.

exception
Exception

veya özelliğini olarak ayarlamak Exception için temel alınan nedenidirCompositionError.nullnullException

Şunlara uygulanır