PersistenceException クラス

定義

注意事項

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

永続化サービスが要求を満たすことができない場合にスローされる例外。

public ref class PersistenceException : SystemException
[System.Serializable]
public class PersistenceException : SystemException
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class PersistenceException : SystemException
[<System.Serializable>]
type PersistenceException = class
    inherit SystemException
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type PersistenceException = class
    inherit SystemException
Public Class PersistenceException
Inherits SystemException
継承
PersistenceException
属性

注釈

Note

この資料では、古い型と名前空間について説明します。 詳細については、「Windows Workflow Foundation 4.5 のDeprecated 型」を参照してください。

SqlWorkflowPersistenceServiceは、完了したスコープまたはワークフロー インスタンスの状態をデータベースにコミットする要求を完了できない場合、PersistenceExceptionをスローします。

WorkflowPersistenceService クラスまたは SqlWorkflowPersistenceService クラスから派生して永続化サービスを実装する場合は、適切なメッセージを含むPersistenceExceptionをスローして、ワークフロー ランタイム エンジンによって行われた要求を満たさなくなるエラー状態を示すことができます。

詳細については、 WorkflowPersistenceService クラスを参照してください。

コンストラクター

名前 説明
PersistenceException()
古い.

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

PersistenceException(SerializationInfo, StreamingContext)
古い.

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

PersistenceException(String, Exception)
古い.

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

PersistenceException(String)
古い.

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

プロパティ

名前 説明
Data
古い.

例外に関する追加のユーザー定義情報を提供するキーと値のペアのコレクションを取得します。

(継承元 Exception)
HelpLink
古い.

この例外に関連付けられているヘルプ ファイルへのリンクを取得または設定します。

(継承元 Exception)
HResult
古い.

特定の例外に割り当てられるコード化された数値である HRESULT を取得または設定します。

(継承元 Exception)
InnerException
古い.

現在の例外の原因となった Exception インスタンスを取得します。

(継承元 Exception)
Message
古い.

現在の例外を説明するメッセージを取得します。

(継承元 Exception)
Source
古い.

エラーの原因となるアプリケーションまたはオブジェクトの名前を取得または設定します。

(継承元 Exception)
StackTrace
古い.

呼び出し履歴のイミディエイト フレームの文字列表現を取得します。

(継承元 Exception)
TargetSite
古い.

現在の例外をスローするメソッドを取得します。

(継承元 Exception)

メソッド

名前 説明
Equals(Object)
古い.

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetBaseException()
古い.

派生クラスでオーバーライドされた場合、1 つ以上の後続の例外の根本原因である Exception を返します。

(継承元 Exception)
GetHashCode()
古い.

既定のハッシュ関数として機能します。

(継承元 Object)
GetObjectData(SerializationInfo, StreamingContext)
古い.

派生クラスでオーバーライドされた場合は、例外に関する情報を使用して SerializationInfo を設定します。

(継承元 Exception)
GetType()
古い.

現在のインスタンスのランタイム型を取得します。

(継承元 Exception)
MemberwiseClone()
古い.

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()
古い.

現在の例外の文字列形式を作成して返します。

(継承元 Exception)

イベント

名前 説明
SerializeObjectState
古い.

例外に関するシリアル化されたデータを含む例外状態オブジェクトを作成するために例外がシリアル化されるときに発生します。

(継承元 Exception)

適用対象