Language

ActivityNotFoundException Constructors

Definition

Overloads

Name Description
ActivityNotFoundException()

Initializes an activity-not-found exception without a detail message.

ActivityNotFoundException(String)

Initializes an activity-not-found exception with the supplied detail message.

ActivityNotFoundException(IntPtr, JniHandleOwnership)

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

ActivityNotFoundException()

Initializes an activity-not-found exception without a detail message.

[Android.Runtime.Register(".ctor", "()V", "")]
public ActivityNotFoundException();
Attributes

Remarks

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.

Applies to

ActivityNotFoundException(String)

Initializes an activity-not-found exception with the supplied detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public ActivityNotFoundException(string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Content.ActivityNotFoundException : string -> Android.Content.ActivityNotFoundException

Parameters

name
String

The exception detail message.

Attributes

Remarks

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.

Java documentation for android.content.ActivityNotFoundException.ActivityNotFoundException(java.lang.String).

Applies to

ActivityNotFoundException(IntPtr, JniHandleOwnership)

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

protected ActivityNotFoundException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.ActivityNotFoundException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.ActivityNotFoundException

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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.

Applies to