Język

IsolatedStorageException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy IsolatedStorageException.

Przeciążenia

Nazwa Opis
IsolatedStorageException()

Inicjuje IsolatedStorageException nowe wystąpienie klasy z właściwościami domyślnymi.

IsolatedStorageException(String)

Inicjuje nowe wystąpienie klasy IsolatedStorageException z określonym komunikatem o błędzie.

IsolatedStorageException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje IsolatedStorageException nowe wystąpienie klasy z serializowanymi danymi.

IsolatedStorageException(String, Exception)

Inicjuje nowe wystąpienie IsolatedStorageException klasy z określonym komunikatem o błędzie i odwołaniem do wyjątku wewnętrznego, który jest przyczyną tego wyjątku.

IsolatedStorageException()

Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs

Inicjuje IsolatedStorageException nowe wystąpienie klasy z właściwościami domyślnymi.

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

Uwagi

W poniższej tabeli przedstawiono początkowe wartości właściwości dla wystąpienia IsolatedStorageException.

Majątek Wartość
InnerException null.
Message Zlokalizowany ciąg komunikatu o błędzie.

Dotyczy

IsolatedStorageException(String)

Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs

Inicjuje nowe wystąpienie klasy IsolatedStorageException z określonym komunikatem o błędzie.

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)

Parametry

message
String

Komunikat o błędzie wyjaśniający przyczynę wyjątku.

Uwagi

W poniższej tabeli przedstawiono początkowe wartości właściwości dla wystąpienia IsolatedStorageException.

Majątek Wartość
InnerException null.
Message Ciąg komunikatu o błędzie.

Dotyczy

IsolatedStorageException(SerializationInfo, StreamingContext)

Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs

Uwaga

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

Inicjuje IsolatedStorageException nowe wystąpienie klasy z serializowanymi danymi.

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)

Parametry

info
SerializationInfo

Obiekt, który przechowuje serializowane dane obiektu.

context
StreamingContext

Kontekstowe informacje o źródle lub miejscu docelowym.

Atrybuty

Uwagi

Ten konstruktor jest wywoływany podczas deserializacji w celu ponownego utworzenia obiektu wyjątku przesyłanego przez strumień.

Dotyczy

IsolatedStorageException(String, Exception)

Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs
Źródło:
IsolatedStorageException.cs

Inicjuje nowe wystąpienie IsolatedStorageException klasy z określonym komunikatem o błędzie i odwołaniem do wyjątku wewnętrznego, który jest przyczyną tego wyjątku.

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)

Parametry

message
String

Komunikat o błędzie wyjaśniający przyczynę wyjątku.

inner
Exception

Wyjątek, który jest przyczyną bieżącego wyjątku. Jeśli parametr inner nie jest null, bieżący wyjątek jest zgłaszany w bloku catch, który obsługuje wyjątek wewnętrzny.

Uwagi

Wyjątek zgłaszany bezpośrednio w wyniku poprzedniego wyjątku powinien zawierać odwołanie do poprzedniego wyjątku we właściwości InnerException. Właściwość InnerException zwraca tę samą wartość, która jest przekazywana do konstruktora, lub null, jeśli właściwość InnerException nie dostarcza wartości wyjątku wewnętrznego do konstruktora.

W poniższej tabeli przedstawiono początkowe wartości właściwości dla wystąpienia IsolatedStorageException.

Majątek Wartość
InnerException Odwołanie do wyjątku wewnętrznego.
Message Ciąg komunikatu o błędzie.

Zobacz też

Dotyczy