AuthenticationRequiredException(Throwable, PendingIntent) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建准备引发的实例。
[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;Landroid/app/PendingIntent;)V", "", ApiSince=26)]
public AuthenticationRequiredException(Java.Lang.Throwable? cause, Android.App.PendingIntent? userAction);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;Landroid/app/PendingIntent;)V", "", ApiSince=26)>]
new Android.App.AuthenticationRequiredException : Java.Lang.Throwable * Android.App.PendingIntent -> Android.App.AuthenticationRequiredException
参数
- cause
- Throwable
原始原因,设计为工程受众的详细信息。
- userAction
- PendingIntent
将启动恢复的主操作。 这必须启动一个预期要设置 Activity#setResult(int) 的活动,然后才能完成以传达恢复的最终状态。 例如,观察到 Activity#RESULT_OK 的应用可以选择立即重试其操作。
- 特性
注解
创建准备引发的实例。
Android 参考。android.app.AuthenticationRequiredException.AuthenticationRequiredException
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。