Aracılığıyla paylaş


PlatformNotSupportedException Oluşturucular

Tanım

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

Aşırı Yüklemeler

Name Description
PlatformNotSupportedException()

Sınıfın PlatformNotSupportedException yeni bir örneğini varsayılan özelliklerle başlatır.

PlatformNotSupportedException(String)

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

PlatformNotSupportedException(SerializationInfo, StreamingContext)
Geçersiz.

Serileştirilmiş verilerle sınıfının yeni bir örneğini PlatformNotSupportedException başlatır.

PlatformNotSupportedException(String, Exception)

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

PlatformNotSupportedException()

Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs

Sınıfın PlatformNotSupportedException yeni bir örneğini varsayılan özelliklerle başlatır.

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

Açıklamalar

Sınıfın PlatformNotSupportedException bir örneği bu oluşturucuya yapılan bir çağrı tarafından oluşturulduğunda, aşağıdaki özellikler belirtilen değerlere başlatılır:

Mülkiyet Değer
InnerException null.
Message Boş dize.

Şunlara uygulanır

PlatformNotSupportedException(String)

Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs

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

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

Parametreler

message
String

Özel durumun nedenini açıklayan metin iletisi.

Açıklamalar

Sınıfın PlatformNotSupportedException bir örneği bu oluşturucuya yapılan bir çağrı tarafından oluşturulduğunda, aşağıdaki özellikler belirtilen değerlere başlatılır:

Mülkiyet Değer
InnerException null.
Message Hata iletisi dizesi.

Şunlara uygulanır

PlatformNotSupportedException(SerializationInfo, StreamingContext)

Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs

Dikkat

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

Serileştirilmiş verilerle sınıfının yeni bir örneğini PlatformNotSupportedException başlatır.

protected:
 PlatformNotSupportedException(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 PlatformNotSupportedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected PlatformNotSupportedException(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}")>]
new PlatformNotSupportedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> PlatformNotSupportedException
new PlatformNotSupportedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> PlatformNotSupportedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parametreler

info
SerializationInfo

Oluşan SerializationInfo özel durumla ilgili serileştirilmiş nesne verilerini tutan.

context
StreamingContext

StreamingContext Kaynak veya hedef hakkında bağlamsal bilgileri içeren.

Öznitelikler

Şunlara uygulanır

PlatformNotSupportedException(String, Exception)

Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs
Kaynak:
PlatformNotSupportedException.cs

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

public:
 PlatformNotSupportedException(System::String ^ message, Exception ^ inner);
public PlatformNotSupportedException(string message, Exception inner);
public PlatformNotSupportedException(string? message, Exception? inner);
new PlatformNotSupportedException : string * Exception -> PlatformNotSupportedException
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 parametresi değilsenull, 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 döndürür veya null özelliği oluşturucuya iç özel durum değeri sağlamaz.InnerException

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

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

Şunlara uygulanır