Share via


InvokeMethod.RunAsynchronously プロパティ

定義

アクティビティのメソッドが非同期で呼び出されるかどうかを示す値を取得または設定します。

public:
 property bool RunAsynchronously { bool get(); void set(bool value); };
public bool RunAsynchronously { get; set; }
member this.RunAsynchronously : bool with get, set
Public Property RunAsynchronously As Boolean

プロパティ値

メソッドは非同期的に実行される場合は true

InvokeMethod アクティビティの RunAsynchronously プロパティを設定するコード サンプルを次に示します。 この例は、 InvokeMethod アクティビティの使用 サンプルからのものです。

new InvokeMethod
{
    TargetObject = new InArgument<TestClass>(ctx => testClass),
    MethodName = "AsyncMethodSample",
    RunAsynchronously = true,
    Parameters =
    {
        new InArgument<string>("Hello async"),
    }
},

適用対象