语言

CursorIndexOutOfBoundsException 构造函数

定义

重载

名称 说明
CursorIndexOutOfBoundsException(String)
CursorIndexOutOfBoundsException(Int32, Int32)
CursorIndexOutOfBoundsException(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

CursorIndexOutOfBoundsException(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public CursorIndexOutOfBoundsException(string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Database.CursorIndexOutOfBoundsException : string -> Android.Database.CursorIndexOutOfBoundsException

参数

message
String

超出边界错误的详细信息消息。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

CursorIndexOutOfBoundsException(Int32, Int32)

[Android.Runtime.Register(".ctor", "(II)V", "")]
public CursorIndexOutOfBoundsException(int index, int size);
[<Android.Runtime.Register(".ctor", "(II)V", "")>]
new Android.Database.CursorIndexOutOfBoundsException : int * int -> Android.Database.CursorIndexOutOfBoundsException

参数

index
Int32

超出有效范围的请求索引。

size
Int32

检查索引所针对的范围的大小。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

CursorIndexOutOfBoundsException(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

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

参数

javaReference
IntPtr

nativeint

IntPtr一个包含Java本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于