Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

NativeActivityContext.AbortChildInstance Method (ActivityInstance, Exception)

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft