Lingua

Resources.NotFoundException Constructors

Definition

Overloads

Name Description
Resources.NotFoundException()
Resources.NotFoundException(String)
Resources.NotFoundException(IntPtr, JniHandleOwnership)

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

Resources.NotFoundException(String, Exception)

Initializes a new instance of the exception with a resource name and its cause.

Resources.NotFoundException()

[Android.Runtime.Register(".ctor", "()V", "")]
public NotFoundException();
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

Resources.NotFoundException(String)

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

Parameters

name
String

The name of the resource that could not be found, or null.

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

Resources.NotFoundException(IntPtr, JniHandleOwnership)

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

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

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

Resources.NotFoundException(String, Exception)

Initializes a new instance of the exception with a resource name and its cause.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Exception;)V", "", ApiSince=24)]
public NotFoundException(string? name, Java.Lang.Exception? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Exception;)V", "", ApiSince=24)>]
new Android.Content.Res.Resources.NotFoundException : string * Java.Lang.Exception -> Android.Content.Res.Resources.NotFoundException

Parameters

name
String

The name of the resource that could not be found, or null.

cause
Exception

The exception that caused the resource lookup to fail, or null.

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