Editare

Partajați prin


AsyncCodeActivity<TResult>.EndExecute Method

Definition

When implemented in a derived class and using the specified execution environment information, notifies the workflow runtime that the associated asynchronous activity operation has completed.

protected:
 abstract TResult EndExecute(System::Activities::AsyncCodeActivityContext ^ context, IAsyncResult ^ result);
protected abstract TResult EndExecute (System.Activities.AsyncCodeActivityContext context, IAsyncResult result);
abstract member EndExecute : System.Activities.AsyncCodeActivityContext * IAsyncResult -> 'Result
Protected MustOverride Function EndExecute (context As AsyncCodeActivityContext, result As IAsyncResult) As TResult

Parameters

context
AsyncCodeActivityContext

Information that defines the execution environment for the AsyncCodeActivity.

result
IAsyncResult

The implemented IAsyncResult that returns the status of an asynchronous activity when execution ends.

Returns

TResult

A generic type.

Applies to