IsolatedStorageException Oluşturucular

Tanım

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

Aşırı Yüklemeler

IsolatedStorageException()

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

IsolatedStorageException(String)

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

IsolatedStorageException(SerializationInfo, StreamingContext)
Geçersiz.

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

IsolatedStorageException(String, Exception)

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

IsolatedStorageException()

Kaynak:
IsolatedStorageException.cs
Kaynak:
IsolatedStorageException.cs
Kaynak:
IsolatedStorageException.cs

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

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

Açıklamalar

Aşağıdaki tablo, IsolatedStorageException öğesinin bir örneği için başlangıç özellik değerlerini gösterir.

Özellik Değer
InnerException null.
Message Yerelleştirilmiş hata ileti dizesi.

Şunlara uygulanır

IsolatedStorageException(String)

Kaynak:
IsolatedStorageException.cs
Kaynak:
IsolatedStorageException.cs
Kaynak:
IsolatedStorageException.cs

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

public:
 IsolatedStorageException(System::String ^ message);
public IsolatedStorageException (string message);
public IsolatedStorageException (string? message);
new System.IO.IsolatedStorage.IsolatedStorageException : string -> System.IO.IsolatedStorage.IsolatedStorageException
Public Sub New (message As String)

Parametreler

message
String

Özel durumun nedenini açıklayan hata iletisi.

Açıklamalar

Aşağıdaki tablo, IsolatedStorageException öğesinin bir örneği için başlangıç özellik değerlerini gösterir.

Özellik Değer
InnerException null.
Message Hata iletisi dizesi.

Şunlara uygulanır

IsolatedStorageException(SerializationInfo, StreamingContext)

Kaynak:
IsolatedStorageException.cs
Kaynak:
IsolatedStorageException.cs
Kaynak:
IsolatedStorageException.cs

Dikkat

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

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

protected:
 IsolatedStorageException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected IsolatedStorageException (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 IsolatedStorageException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.IO.IsolatedStorage.IsolatedStorageException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IO.IsolatedStorage.IsolatedStorageException
[<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 System.IO.IsolatedStorage.IsolatedStorageException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IO.IsolatedStorage.IsolatedStorageException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parametreler

info
SerializationInfo

Serileştirilmiş nesne verilerini tutan nesne.

context
StreamingContext

Kaynak veya hedefle ilgili bağlamsal bilgi.

Öznitelikler

Açıklamalar

Bu oluşturucu, bir akış üzerinden iletilen özel durum nesnesini yeniden oluşturmak için seri durumundan çıkarma sırasında çağrılır.

Şunlara uygulanır

IsolatedStorageException(String, Exception)

Kaynak:
IsolatedStorageException.cs
Kaynak:
IsolatedStorageException.cs
Kaynak:
IsolatedStorageException.cs

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

public:
 IsolatedStorageException(System::String ^ message, Exception ^ inner);
public IsolatedStorageException (string message, Exception inner);
public IsolatedStorageException (string? message, Exception? inner);
new System.IO.IsolatedStorage.IsolatedStorageException : string * Exception -> System.IO.IsolatedStorage.IsolatedStorageException
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

Bir önceki özel durumun doğrudan bir sonucu olarak oluşturulan bir özel durum, InnerException özelliğindeki önceki özel duruma başvuru içermelidir. InnerException özelliği, oluşturucuya iletilen aynı değeri ya da InnerException özelliği oluşturucuya iç özel durum değeri sağlamıyorsa null değerini döndürür.

Aşağıdaki tablo, IsolatedStorageException öğesinin bir örneği için başlangıç özellik değerlerini gösterir.

Özellik Değer
InnerException İç özel duruma başvuru.
Message Hata iletisi dizesi.

Ayrıca bkz.

Şunlara uygulanır