CompletionCallback<TResult> Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The method that is called when an activity completes.
generic <typename TResult>
public delegate void CompletionCallback(NativeActivityContext ^ context, ActivityInstance ^ completedInstance, TResult result);
public delegate void CompletionCallback<TResult>(NativeActivityContext context, ActivityInstance completedInstance, TResult result);
type CompletionCallback<'Result> = delegate of NativeActivityContext * ActivityInstance * 'Result -> unit
Public Delegate Sub CompletionCallback(Of TResult)(context As NativeActivityContext, completedInstance As ActivityInstance, result As TResult)
Type Parameters
- TResult
The type of the result value.
Parameters
- context
- NativeActivityContext
The execution environment of the activity.
- completedInstance
- ActivityInstance
The activity that completed.
- result
- TResult
The TResult
value of the activity that completed.
Extension Methods
GetMethodInfo(Delegate) |
Gets an object that represents the method represented by the specified delegate. |
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา