PackageManager.NameNotFoundException Constructors
Definition
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.
Overloads
| Name | Description |
|---|---|
| PackageManager.NameNotFoundException() |
Creates a name-lookup exception without a detail message. |
| PackageManager.NameNotFoundException(String) |
Creates a name-lookup exception with the supplied name as its detail message. |
| PackageManager.NameNotFoundException(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
PackageManager.NameNotFoundException()
Creates a name-lookup exception without a detail message.
[Android.Runtime.Register(".ctor", "()V", "")]
public NameNotFoundException();
- 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
PackageManager.NameNotFoundException(String)
Creates a name-lookup exception with the supplied name as its detail message.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public NameNotFoundException(string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Content.PM.PackageManager.NameNotFoundException : string -> Android.Content.PM.PackageManager.NameNotFoundException
Parameters
- name
- String
The name stored as the exception's 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.
Applies to
PackageManager.NameNotFoundException(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected NameNotFoundException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.PM.PackageManager.NameNotFoundException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.PM.PackageManager.NameNotFoundException
Parameters
- 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.