Android.App.Instrumentation.Finish Method
Terminate instrumentation of the application.

Syntax

[Android.Runtime.Register("finish", "(ILandroid/os/Bundle;)V", "GetFinish_ILandroid_os_Bundle_Handler")]
public virtual void Finish ([Android.Runtime.GeneratedEnum] Result resultCode, Android.OS.Bundle results)

Parameters

resultCode
Overall success/failure of instrumentation.
results
Any results to send back to the code that started the instrumentation.

Remarks

Terminate instrumentation of the application. This will cause the application process to exit, removing this instrumentation from the next time the application is started.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1