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"),
    }
},

적용 대상