InvokeMethod.RunAsynchronously 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
활동의 메서드가 비동기적으로 호출되는지 여부를 나타내는 값을 가져오거나 설정합니다.
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"),
}
},