NativeActivityContext.AbortChildInstance Method (ActivityInstance, Exception)

.NET Framework (current version)
 

Aborts the specified instance of a NativeActivity child activity for the specified reason.

Namespace:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

public void AbortChildInstance(
	ActivityInstance activity,
	Exception reason
)

Parameters

activity
Type: System.Activities.ActivityInstance

A child of the currently executing NativeActivity.

reason
Type: System.Exception

The error that caused the child activity to abort.

.NET Framework
Available since 4.0
Return to top
Show: