PendingIntent.CanceledException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| PendingIntent.CanceledException() |
初始化未显示详细信息消息的挂起意向取消异常。 |
| PendingIntent.CanceledException(Exception) |
使用提供的原因初始化挂起意向取消异常。 |
| PendingIntent.CanceledException(String) |
使用提供的详细信息消息初始化挂起意向取消异常。 |
| PendingIntent.CanceledException(IntPtr, JniHandleOwnership) |
初始化现有 Java Native Interface 对象的托管表示形式。 |
PendingIntent.CanceledException()
初始化未显示详细信息消息的挂起意向取消异常。
[Android.Runtime.Register(".ctor", "()V", "")]
public CanceledException();
- 特性
注解
Android 参考。android.app.PendingIntent.CanceledException.CanceledException
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
PendingIntent.CanceledException(Exception)
使用提供的原因初始化挂起意向取消异常。
[Android.Runtime.Register(".ctor", "(Ljava/lang/Exception;)V", "")]
public CanceledException(Java.Lang.Exception? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Exception;)V", "")>]
new Android.App.PendingIntent.CanceledException : Java.Lang.Exception -> Android.App.PendingIntent.CanceledException
参数
- cause
- Exception
Exception
- 特性
注解
Android 参考。android.app.PendingIntent.CanceledException.CanceledException
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
PendingIntent.CanceledException(String)
使用提供的详细信息消息初始化挂起意向取消异常。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public CanceledException(string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.App.PendingIntent.CanceledException : string -> Android.App.PendingIntent.CanceledException
参数
- name
- String
String
- 特性
注解
Android 参考。android.app.PendingIntent.CanceledException.CanceledException
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
PendingIntent.CanceledException(IntPtr, JniHandleOwnership)
初始化现有 Java Native Interface 对象的托管表示形式。
protected CanceledException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.PendingIntent.CanceledException : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.PendingIntent.CanceledException
参数
- javaReference
-
IntPtr
nativeint
Java Native Interface 对象引用。
- transfer
- JniHandleOwnership
要应用于 Java Native Interface 对象引用的所有权转让。
注解
当为现有Java对象创建托管对等时,此构造函数由 Android 绑定运行时的 .NET 调用。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。