语言

RemoteViews.ActionException 构造函数

定义

重载

名称 说明
RemoteViews.ActionException(Exception)

初始化新实例。

RemoteViews.ActionException(String)

初始化新实例。

RemoteViews.ActionException(IntPtr, JniHandleOwnership)

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

RemoteViews.ActionException(Exception)

初始化新实例。

[Android.Runtime.Register(".ctor", "(Ljava/lang/Exception;)V", "")]
public ActionException(Java.Lang.Exception? ex);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Exception;)V", "")>]
new Android.Widget.RemoteViews.ActionException : Java.Lang.Exception -> Android.Widget.RemoteViews.ActionException

参数

ex
Exception

Exception

属性

注解

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

Java文档RemoteViews.ActionException。

适用于

RemoteViews.ActionException(String)

初始化新实例。

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

参数

message
String

String

属性

注解

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

Java文档RemoteViews.ActionException。

适用于

RemoteViews.ActionException(IntPtr, JniHandleOwnership)

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

protected ActionException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.RemoteViews.ActionException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.RemoteViews.ActionException

参数

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

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

适用于