Android Guides | Samples

Android.Content.ActivityNotFoundException Class

This exception is thrown when a call to Context.StartActivity(Intent) or one of its variants fails because an Activity can not be found to execute the given Intent.

See Also: ActivityNotFoundException

Syntax

[Android.Runtime.Register("android/content/ActivityNotFoundException", DoNotGenerateAcw=true)]
public class ActivityNotFoundException : RuntimeException

Remarks

This exception is thrown when a call to Context.StartActivity(Intent) or one of its variants fails because an Activity can not be found to execute the given Intent.

[Android Documentation]

Requirements

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

The members of Android.Content.ActivityNotFoundException are listed below.

See Also: RuntimeException

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.