CursorWindowAllocationException 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 |
|---|---|
| CursorWindowAllocationException(String) |
Creates an exception with the specified allocation failure message. |
| CursorWindowAllocationException(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
CursorWindowAllocationException(String)
Creates an exception with the specified allocation failure message.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=33)]
public CursorWindowAllocationException(string description);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=33)>]
new Android.Database.CursorWindowAllocationException : string -> Android.Database.CursorWindowAllocationException
Parameters
- description
- String
The detail message that describes the cursor window allocation failure.
- Attributes
Remarks
The description is passed to the runtime exception constructor as its detail message.
Applies to
CursorWindowAllocationException(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected CursorWindowAllocationException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Database.CursorWindowAllocationException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Database.CursorWindowAllocationException
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.