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)

Belirtilen bir hata iletisi ve bu özel durumun nedeni olan iç özel duruma başvuru ile MulticastNotSupportedException sınıfının yeni bir örneğini 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, MulticastNotSupportedExceptionörneğinin ilk özellik değerleri gösterilmektedir.

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, MulticastNotSupportedExceptionörneğinin ilk özellik değerleri gösterilmektedir.

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

Belirtilen bir hata iletisi ve bu özel durumun nedeni olan iç özel duruma başvuru ile MulticastNotSupportedException sınıfının yeni bir örneğini 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 özel durum, InnerException özelliğindeki önceki özel duruma başvuru içermelidir. InnerException özelliği oluşturucuya geçirilen aynı değeri veya özellik oluşturucuya iç özel durum değeri sağlamazsa Nothing null başvuruyu (InnerExceptionVisual Basic'te) döndürür.

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

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

Ayrıca bkz.

Şunlara uygulanır