AppInteractionDeniedException 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 |
|---|---|
| AppInteractionDeniedException(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
| AppInteractionDeniedException(String, AppInteractionDeniedReason) |
Constructor for |
| AppInteractionDeniedException(String, AppInteractionDeniedReason, Bundle) |
Constructor for |
AppInteractionDeniedException(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected AppInteractionDeniedException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.AppInteractionDeniedException : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.AppInteractionDeniedException
Parameters
- javaReference
-
IntPtr
nativeint
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Specifies whether ownership of the JNI reference transfers to this instance.
Remarks
The runtime calls this constructor to create a managed representation of an existing Java object.
Applies to
AppInteractionDeniedException(String, AppInteractionDeniedReason)
Constructor for AppInteractionDeniedException.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=37)]
public AppInteractionDeniedException(string? message, Android.App.AppInteractionDeniedReason reason);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=37)>]
new Android.App.AppInteractionDeniedException : string * Android.App.AppInteractionDeniedReason -> Android.App.AppInteractionDeniedException
Parameters
- message
- String
The error message.
- reason
- AppInteractionDeniedReason
The reason for interaction denied.
- Attributes
Remarks
Constructor for AppInteractionDeniedException.
Android reference for android.app.AppInteractionDeniedException.AppInteractionDeniedException.
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
AppInteractionDeniedException(String, AppInteractionDeniedReason, Bundle)
Constructor for AppInteractionDeniedException.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILandroid/os/Bundle;)V", "", ApiSince=37)]
public AppInteractionDeniedException(string? message, Android.App.AppInteractionDeniedReason reason, Android.OS.Bundle extras);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILandroid/os/Bundle;)V", "", ApiSince=37)>]
new Android.App.AppInteractionDeniedException : string * Android.App.AppInteractionDeniedReason * Android.OS.Bundle -> Android.App.AppInteractionDeniedException
Parameters
- message
- String
The error message.
- reason
- AppInteractionDeniedReason
The reason for interaction denied.
- extras
- Bundle
Additional metadata.
- Attributes
Remarks
Constructor for AppInteractionDeniedException.
Android reference for android.app.AppInteractionDeniedException.AppInteractionDeniedException.
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.