コード例 #1
0
        protected override void Execute(NativeActivityContext context)
        {
            SendRequestReceiveResponseScopeExecutionPropertyWithoutResult executionProperty =
                context.GetSendRequestReceiveResponseScopeExecutionPropertyWithoutResult();

            executionProperty.AssertIsStarted();

            // Schedules an awaiter for the outgoing request, ie. the appropriate TWorkflowCallbackInterface operation.
            context.ScheduleFunc(responseResultWaiter, executionProperty.OnOperationTask, WaiterCompletionCallback);
            executionProperty.OnOperationTaskWaiterIsScheduled();
        }