GetCredentialException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| GetCredentialException(String) |
构造一个 |
| GetCredentialException(IntPtr, JniHandleOwnership) |
创建表示现有Java对象的托管实例。 |
| GetCredentialException(String, Throwable) |
构造一个 |
| GetCredentialException(String, String) |
构造一个 |
| GetCredentialException(String, String, Throwable) |
构造一个 |
GetCredentialException(String)
构造一个 GetCredentialException。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=34)]
public GetCredentialException(string type);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=34)>]
new Android.Credentials.GetCredentialException : string -> Android.Credentials.GetCredentialException
参数
- type
- String
标识凭据检索错误的非空字符串。
- 特性
注解
构造一个 GetCredentialException。
Java文档android.credentials.GetCredentialException.GetCredentialException(java.lang.String)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
GetCredentialException(IntPtr, JniHandleOwnership)
创建表示现有Java对象的托管实例。
protected GetCredentialException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Credentials.GetCredentialException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Credentials.GetCredentialException
参数
- javaReference
-
IntPtr
nativeint
对Java对象的 JNI 引用。
- transfer
- JniHandleOwnership
指定 JNI 引用的所有权是否传输到此实例。
注解
运行时调用此构造函数来创建现有Java对象的托管表示形式。
适用于
GetCredentialException(String, Throwable)
构造一个 GetCredentialException。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)]
public GetCredentialException(string type, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)>]
new Android.Credentials.GetCredentialException : string * Java.Lang.Throwable -> Android.Credentials.GetCredentialException
参数
- type
- String
标识凭据检索错误的非空字符串。
- cause
- Throwable
导致此错误或 null 未提供任何原因的异常。
- 特性
注解
构造一个 GetCredentialException。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
GetCredentialException(String, String)
构造一个 GetCredentialException。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=34)]
public GetCredentialException(string type, string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=34)>]
new Android.Credentials.GetCredentialException : string * string -> Android.Credentials.GetCredentialException
参数
- type
- String
标识凭据检索错误的非空字符串。
- message
- String
错误消息或 null 未提供任何消息。
- 特性
注解
构造一个 GetCredentialException。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
GetCredentialException(String, String, Throwable)
构造一个 GetCredentialException。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)]
public GetCredentialException(string type, string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)>]
new Android.Credentials.GetCredentialException : string * string * Java.Lang.Throwable -> Android.Credentials.GetCredentialException
参数
- type
- String
标识凭据检索错误的非空字符串。
- message
- String
错误消息或 null 未提供任何消息。
- cause
- Throwable
导致此错误或 null 未提供任何原因的异常。
- 特性
注解
构造一个 GetCredentialException。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。