Dela via


Resources.NotFoundException Constructors

Definition

Overloads

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)

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
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)

[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
cause
Exception
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