IsolatedStorageException Oluşturucular

Tanım

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

Aşırı Yüklemeler

Name Description
IsolatedStorageException()

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

IsolatedStorageException(String)

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

IsolatedStorageException(SerializationInfo, StreamingContext)
Geçersiz.

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

IsolatedStorageException(String, Exception)

Belirtilen bir hata iletisi ve bu özel durumun nedeni olan iç özel duruma başvuru ile IsolatedStorageException sınıfının yeni bir örneğini başlatır.

IsolatedStorageException()

Kaynak:
IsolatedStorageException.cs
Kaynak:
IsolatedStorageException.cs
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 tabloda, IsolatedStorageExceptionörneğinin ilk özellik değerleri gösterilmektedir.

Mülkiyet Değer
InnerException null.
Message Yerelleştirilmiş hata iletisi dizesi.

Şunlara uygulanır

IsolatedStorageException(String)

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

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

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

Şunlara uygulanır

IsolatedStorageException(SerializationInfo, StreamingContext)

Kaynak:
IsolatedStorageException.cs
Kaynak:
IsolatedStorageException.cs
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.

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

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);
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}")>]
new System.IO.IsolatedStorage.IsolatedStorageException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IO.IsolatedStorage.IsolatedStorageException
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 hedef hakkındaki bağlamsal bilgiler.

Öznitelikler

Açıklamalar

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

Şunlara uygulanır

IsolatedStorageException(String, Exception)

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

Belirtilen bir hata iletisi ve bu özel durumun nedeni olan iç özel duruma başvuru ile IsolatedStorageException sınıfının yeni bir örneğini 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 nulldeğilse, geçerli özel durum, iç özel durumu işleyen bir catch bloğunda 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 değeri döndürür veya null özelliği oluşturucuya iç özel durum değeri sağlamazsa InnerException.

Aşağıdaki tabloda, IsolatedStorageExceptionö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