AdServicesException 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 |
|---|---|
| AdServicesException(String) | |
| AdServicesException(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
| AdServicesException(String, Throwable) |
AdServicesException(String)
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=34)]
public AdServicesException(string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=34)>]
new Android.AdServices.Exceptions.AdServicesException : string -> Android.AdServices.Exceptions.AdServicesException
Parameters
- message
- String
- Attributes
Applies to
AdServicesException(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected AdServicesException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.AdServices.Exceptions.AdServicesException : nativeint * Android.Runtime.JniHandleOwnership -> Android.AdServices.Exceptions.AdServicesException
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
AdServicesException(String, Throwable)
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)]
public AdServicesException(string? message, Java.Lang.Throwable? e);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)>]
new Android.AdServices.Exceptions.AdServicesException : string * Java.Lang.Throwable -> Android.AdServices.Exceptions.AdServicesException
Parameters
- message
- String
- Attributes