NativeActivityAbortContext クラス

定義

中止中のアクティビティの実行環境を表します。

public ref class NativeActivityAbortContext sealed : System::Activities::ActivityContext
public sealed class NativeActivityAbortContext : System.Activities.ActivityContext
type NativeActivityAbortContext = class
    inherit ActivityContext
Public NotInheritable Class NativeActivityAbortContext
Inherits ActivityContext
継承
NativeActivityAbortContext

注釈

NativeActivity<TResult> から派生するアクティビティを作成するカスタム アクティビティ作成者は、Abort をオーバーライドして、中止の状態に反応してアクションを実行することができます。 たとえば、SqlCommand と対話するアクティビティは、中止状態にされると Cancel を呼び出すことがあります。

プロパティ

ActivityInstanceId

現在実行中のアクティビティ インスタンスの一意の識別子を取得します。

(継承元 ActivityContext)
DataContext

現在実行中のアクティビティのデータ コンテキストを取得します。

(継承元 ActivityContext)
Reason

アクティビティ中止の理由を含む Exception を取得します。

WorkflowInstanceId

現在実行中のワークフロー インスタンスの一意の識別子を取得します。

(継承元 ActivityContext)

メソッド

Equals(Object)

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

(継承元 Object)
GetExtension<T>()

指定された型の拡張機能を返します。

(継承元 ActivityContext)
GetHashCode()

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

(継承元 Object)
GetLocation<T>(LocationReference)

現在のアクティビティ コンテキストの指定された参照対象となる場所の型指定された場所を返します。

(継承元 ActivityContext)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
GetValue(Argument)

指定された Argument の値を取得します。

(継承元 ActivityContext)
GetValue(RuntimeArgument)

指定された RuntimeArgument の値を取得します。

(継承元 ActivityContext)
GetValue<T>(InArgument<T>)

指定された InArgument<T> の値を取得します。

(継承元 ActivityContext)
GetValue<T>(InOutArgument<T>)

指定された InOutArgument<T> の値を取得します。

(継承元 ActivityContext)
GetValue<T>(LocationReference)

指定された LocationReference にある値を取得します。

(継承元 ActivityContext)
GetValue<T>(OutArgument<T>)

指定された OutArgument<T> の値を取得します。

(継承元 ActivityContext)
MemberwiseClone()

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

(継承元 Object)
SetValue(Argument, Object)

指定された Argument に値を割り当てます。

(継承元 ActivityContext)
SetValue<T>(InArgument<T>, T)

指定された InArgument<T> に値を割り当てます。

(継承元 ActivityContext)
SetValue<T>(InOutArgument<T>, T)

指定された InOutArgument<T> に値を割り当てます。

(継承元 ActivityContext)
SetValue<T>(LocationReference, T)

指定された LocationReference に値を割り当てます。

(継承元 ActivityContext)
SetValue<T>(OutArgument<T>, T)

指定された OutArgument<T> に値を割り当てます。

(継承元 ActivityContext)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象