语言

CursorWindowAllocationException 构造函数

定义

重载

名称 说明
CursorWindowAllocationException(String)

创建具有指定分配失败消息的异常。

CursorWindowAllocationException(IntPtr, JniHandleOwnership)

创建表示现有Java对象的托管实例。

CursorWindowAllocationException(String)

创建具有指定分配失败消息的异常。

[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

参数

description
String

描述游标窗口分配失败的详细信息消息。

特性

注解

说明作为其详细信息消息传递给运行时异常构造函数。

适用于

CursorWindowAllocationException(IntPtr, JniHandleOwnership)

创建表示现有Java对象的托管实例。

protected CursorWindowAllocationException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Database.CursorWindowAllocationException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Database.CursorWindowAllocationException

参数

javaReference
IntPtr

nativeint

对Java对象的 JNI 引用。

transfer
JniHandleOwnership

指定 JNI 引用的所有权是否传输到此实例。

注解

运行时调用此构造函数来创建现有Java对象的托管表示形式。

适用于