Share via


PersistenceException コンストラクター

定義

PersistenceException クラスの新しいインスタンスを初期化します。

オーバーロード

PersistenceException()

PersistenceException クラスの新しいインスタンスを初期化します。

PersistenceException(String)

指定したメッセージを使用して、PersistenceException クラスの新しいインスタンスを初期化します。

PersistenceException(SerializationInfo, StreamingContext)

指定した PersistenceException および指定した SerializationInfo を使用して、StreamingContext クラスの新しいインスタンスを初期化します。

PersistenceException(String, Exception)

指定したメッセージおよび PersistenceException を使用して、Exception の新しいインスタンスを初期化します。

PersistenceException()

PersistenceException クラスの新しいインスタンスを初期化します。

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

適用対象

PersistenceException(String)

指定したメッセージを使用して、PersistenceException クラスの新しいインスタンスを初期化します。

public:
 PersistenceException(System::String ^ message);
public PersistenceException (string message);
new System.Workflow.Runtime.Hosting.PersistenceException : string -> System.Workflow.Runtime.Hosting.PersistenceException
Public Sub New (message As String)

パラメーター

message
String

例外の原因に関する説明。

適用対象

PersistenceException(SerializationInfo, StreamingContext)

指定した PersistenceException および指定した SerializationInfo を使用して、StreamingContext クラスの新しいインスタンスを初期化します。

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.Workflow.Runtime.Hosting.PersistenceException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Workflow.Runtime.Hosting.PersistenceException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

シリアル化されたオブジェクト データを保持する SerializationInfo

context
StreamingContext

転送元または転送先に関するコンテキスト情報を保持する StreamingContext

注釈

このコンストラクターは、シリアル化解除の際に呼び出されて、ストリームで送信された例外オブジェクトを再構成します。 詳細については、「 XML および SOAP シリアル化」を参照してください。

適用対象

PersistenceException(String, Exception)

指定したメッセージおよび PersistenceException を使用して、Exception の新しいインスタンスを初期化します。

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

パラメーター

message
String

例外の原因に関する説明。

innerException
Exception

PersistenceException がスローされる原因となった例外。

適用対象