IsolatedStorageException Konstruktoren

Definition

Initialisiert eine neue Instanz der IsolatedStorageException-Klasse.

Überlädt

IsolatedStorageException()

Initialisiert eine neue Instanz der IsolatedStorageException-Klasse mit Standardeigenschaften.

IsolatedStorageException(String)

Initialisiert eine neue Instanz der IsolatedStorageException-Klasse mit einer angegebenen Fehlermeldung.

IsolatedStorageException(SerializationInfo, StreamingContext)
Veraltet.

Initialisiert eine neue Instanz der IsolatedStorageException-Klasse mit serialisierten Daten.

IsolatedStorageException(String, Exception)

Initialisiert eine neue Instanz der IsolatedStorageException-Klasse mit einer angegebenen Fehlermeldung und einem Verweis auf die innere Ausnahme, die diese Ausnahme ausgelöst hat.

IsolatedStorageException()

Source:
IsolatedStorageException.cs
Source:
IsolatedStorageException.cs
Source:
IsolatedStorageException.cs

Initialisiert eine neue Instanz der IsolatedStorageException-Klasse mit Standardeigenschaften.

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

Hinweise

In der folgenden Tabelle werden die anfänglichen Eigenschaftenwerte für eine IsolatedStorageException-Instanz aufgeführt.

Eigenschaft Wert
InnerException null.
Message Die lokalisierte Zeichenfolge mit der Fehlermeldung.

Gilt für:

IsolatedStorageException(String)

Source:
IsolatedStorageException.cs
Source:
IsolatedStorageException.cs
Source:
IsolatedStorageException.cs

Initialisiert eine neue Instanz der IsolatedStorageException-Klasse mit einer angegebenen Fehlermeldung.

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)

Parameter

message
String

Die Fehlermeldung, in der die Ursache der Ausnahme erklärt wird.

Hinweise

In der folgenden Tabelle werden die anfänglichen Eigenschaftenwerte für eine IsolatedStorageException-Instanz aufgeführt.

Eigenschaft Wert
InnerException null.
Message Die Zeichenfolge der Fehlermeldung.

Gilt für:

IsolatedStorageException(SerializationInfo, StreamingContext)

Source:
IsolatedStorageException.cs
Source:
IsolatedStorageException.cs
Source:
IsolatedStorageException.cs

Achtung

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

Initialisiert eine neue Instanz der IsolatedStorageException-Klasse mit serialisierten Daten.

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)

Parameter

info
SerializationInfo

Das Objekt, das die Daten des serialisierten Objekts enthält.

context
StreamingContext

Die Kontextinformationen zur Quelle bzw. zum Ziel.

Attribute

Hinweise

Dieser Konstruktor wird während der Deserialisierung aufgerufen, um das über einen Datenstrom übertragene Ausnahmeobjekt wieder zusammenzusetzen.

Gilt für:

IsolatedStorageException(String, Exception)

Source:
IsolatedStorageException.cs
Source:
IsolatedStorageException.cs
Source:
IsolatedStorageException.cs

Initialisiert eine neue Instanz der IsolatedStorageException-Klasse mit einer angegebenen Fehlermeldung und einem Verweis auf die innere Ausnahme, die diese Ausnahme ausgelöst hat.

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)

Parameter

message
String

Die Fehlermeldung, in der die Ursache der Ausnahme erklärt wird.

inner
Exception

Die Ausnahme, die die Ursache der aktuellen Ausnahme ist. Wenn der inner-Parameter nicht null ist, wird die aktuelle Ausnahme in einem catch-Block ausgelöst, der die innere Ausnahme behandelt.

Hinweise

Eine Ausnahme, die als direktes Ergebnis einer vorhergehenden Ausnahme ausgelöst wird, muss in der InnerException-Eigenschaft über einen Verweis auf die vorhergehende Ausnahme verfügen. Die InnerException-Eigenschaft gibt den gleichen Wert zurück, der an den Konstruktor übergeben wird, oder null, wenn die InnerException-Eigenschaft den Wert der inneren Ausnahme nicht an den Konstruktor übergibt.

In der folgenden Tabelle werden die anfänglichen Eigenschaftenwerte für eine IsolatedStorageException-Instanz aufgeführt.

Eigenschaft Wert
InnerException Der Verweis auf die interne Ausnahme.
Message Die Zeichenfolge der Fehlermeldung.

Weitere Informationen

Gilt für: