Udostępnij za pośrednictwem


PersistenceException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy PersistenceException.

Przeciążenia

PersistenceException()

Inicjuje nowe wystąpienie klasy PersistenceException.

PersistenceException(String)

Inicjuje nowe wystąpienie klasy PersistenceException.

PersistenceException(SerializationInfo, StreamingContext)

Inicjuje nowe wystąpienie klasy PersistenceException.

PersistenceException(String, Exception)

Inicjuje nowe wystąpienie klasy PersistenceException.

PersistenceException()

Inicjuje nowe wystąpienie klasy PersistenceException.

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

Dotyczy

PersistenceException(String)

Inicjuje nowe wystąpienie klasy PersistenceException.

public:
 PersistenceException(System::String ^ message);
public PersistenceException (string message);
new System.ServiceModel.Persistence.PersistenceException : string -> System.ServiceModel.Persistence.PersistenceException
Public Sub New (message As String)

Parametry

message
String

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

Dotyczy

PersistenceException(SerializationInfo, StreamingContext)

Inicjuje nowe wystąpienie klasy PersistenceException.

protected:
 PersistenceException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PersistenceException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.Persistence.PersistenceException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.Persistence.PersistenceException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parametry

info
SerializationInfo

Obiekt SerializationInfo zawierający dane zserializowanego obiektu dotyczące zgłaszanego wyjątku.

context
StreamingContext

Obiekt StreamingContext zawierający informacje kontekstowe dotyczące źródła lub miejsca docelowego.

Dotyczy

PersistenceException(String, Exception)

Inicjuje nowe wystąpienie klasy PersistenceException.

public:
 PersistenceException(System::String ^ message, Exception ^ innerException);
public PersistenceException (string message, Exception innerException);
new System.ServiceModel.Persistence.PersistenceException : string * Exception -> System.ServiceModel.Persistence.PersistenceException
Public Sub New (message As String, innerException As Exception)

Parametry

message
String

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

innerException
Exception

ElementException, który spowodował .PersistenceException

Dotyczy