Aracılığıyla paylaş


MulticastNotSupportedException Oluşturucular

Tanım

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

Aşırı Yüklemeler

Name Description
MulticastNotSupportedException()

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

MulticastNotSupportedException(String)

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

MulticastNotSupportedException(String, Exception)

Sınıfın MulticastNotSupportedException yeni bir örneğini belirtilen bir hata iletisiyle ve bu özel durumun nedeni olan iç özel duruma başvuruyla başlatır.

MulticastNotSupportedException()

Kaynak:
MulticastNotSupportedException.cs
Kaynak:
MulticastNotSupportedException.cs
Kaynak:
MulticastNotSupportedException.cs
Kaynak:
MulticastNotSupportedException.cs
Kaynak:
MulticastNotSupportedException.cs

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

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

Açıklamalar

Bu oluşturucu, yeni örneğin özelliğini sistem tarafından sağlanan ve "Bu işlem belirtilen temsilcilerle gerçekleştirilemiyor" gibi hatayı açıklayan bir iletiye başlatır Message . Bu ileti geçerli sistem kültürünü dikkate alır.

Aşağıdaki tabloda, örneğinin ilk özellik değerleri gösterilmektedir MulticastNotSupportedException.

Mülkiyet Değer
InnerException Null başvuru (Nothing Visual Basic'te).
Message Yerelleştirilmiş hata iletisi dizesi.

Şunlara uygulanır

MulticastNotSupportedException(String)

Kaynak:
MulticastNotSupportedException.cs
Kaynak:
MulticastNotSupportedException.cs
Kaynak:
MulticastNotSupportedException.cs
Kaynak:
MulticastNotSupportedException.cs
Kaynak:
MulticastNotSupportedException.cs

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

public:
 MulticastNotSupportedException(System::String ^ message);
public MulticastNotSupportedException(string? message);
public MulticastNotSupportedException(string message);
new MulticastNotSupportedException : string -> MulticastNotSupportedException
Public Sub New (message As String)

Parametreler

message
String

Hatayı açıklayan ileti.

Açıklamalar

parametresinin message içeriği kullanıcı tarafından anlaşılabilir olmalıdır. Bu dizenin geçerli sistem kültürü için yerelleştirildiğinden emin olmak için bu oluşturucunun çağıranı gereklidir.

Aşağıdaki tabloda, örneğinin ilk özellik değerleri gösterilmektedir MulticastNotSupportedException.

Mülkiyet Değer
InnerException Null başvuru (Nothing Visual Basic'te).
Message Hata iletisi dizesi.

Şunlara uygulanır

MulticastNotSupportedException(String, Exception)

Kaynak:
MulticastNotSupportedException.cs
Kaynak:
MulticastNotSupportedException.cs
Kaynak:
MulticastNotSupportedException.cs
Kaynak:
MulticastNotSupportedException.cs
Kaynak:
MulticastNotSupportedException.cs

Sınıfın MulticastNotSupportedException yeni bir örneğini belirtilen bir hata iletisiyle ve bu özel durumun nedeni olan iç özel duruma başvuruyla başlatır.

public:
 MulticastNotSupportedException(System::String ^ message, Exception ^ inner);
public MulticastNotSupportedException(string? message, Exception? inner);
public MulticastNotSupportedException(string message, Exception inner);
new MulticastNotSupportedException : string * Exception -> MulticastNotSupportedException
Public Sub New (message As String, inner As Exception)

Parametreler

message
String

Özel durumun nedenini açıklayan hata iletisi.

inner
Exception

Geçerli özel durumun nedeni olan özel durum. inner Parametre null başvuru değilse (NothingVisual Basic'te), geçerli özel durum iç özel durumu işleyen bir catch blokta oluşturulur.

Açıklamalar

Önceki bir özel durumun doğrudan sonucu olarak oluşan bir özel durum, özelliğindeki önceki özel duruma başvuru içermelidir InnerException . InnerException özelliği oluşturucuya geçirilen aynı değeri veya özellik oluşturucuya iç özel durum değeri sağlamazsa InnerException null başvuruyu (NothingVisual Basic'te) döndürür.

Aşağıdaki tabloda, örneğinin ilk özellik değerleri gösterilmektedir MulticastNotSupportedException.

Mülkiyet Değer
InnerException İç özel durum başvurusu.
Message Hata iletisi dizesi.

Ayrıca bkz.

Şunlara uygulanır