ContextWrapper.StartInstrumentation(ComponentName, String, Bundle) Method
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.
Start executing an Instrumentation class.
[Android.Runtime.Register("startInstrumentation", "(Landroid/content/ComponentName;Ljava/lang/String;Landroid/os/Bundle;)Z", "GetStartInstrumentation_Landroid_content_ComponentName_Ljava_lang_String_Landroid_os_Bundle_Handler")]
public override bool StartInstrumentation(Android.Content.ComponentName? className, string? profileFile, Android.OS.Bundle? arguments);
[<Android.Runtime.Register("startInstrumentation", "(Landroid/content/ComponentName;Ljava/lang/String;Landroid/os/Bundle;)Z", "GetStartInstrumentation_Landroid_content_ComponentName_Ljava_lang_String_Landroid_os_Bundle_Handler")>]
override this.StartInstrumentation : Android.Content.ComponentName * string * Android.OS.Bundle -> bool
- className
- ComponentName
Name of the Instrumentation component to be run.
- profileFile
- String
Optional path to write profiling data as the instrumentation runs, or null for no profiling.
- arguments
- Bundle
Additional optional arguments to pass to the instrumentation, or null.
- Attributes
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |