CertStoreException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| CertStoreException() |
|
| CertStoreException(Throwable) |
创建一个 |
| CertStoreException(String) |
使用给定的详细信息消息创建一个 |
| CertStoreException(IntPtr, JniHandleOwnership) |
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。 |
| CertStoreException(String, Throwable) |
使用指定的详细信息消息和原因创建一个 |
CertStoreException()
CertStoreException创建其null详细信息消息。
[Android.Runtime.Register(".ctor", "()V", "")]
public CertStoreException();
- 属性
注解
CertStoreException创建其null详细信息消息。
Java文档java.security.cert.CertStoreException.CertStoreException()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
CertStoreException(Throwable)
创建一个 CertStoreException 包装指定的可引发项。
[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public CertStoreException(Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Security.Cert.CertStoreException : Java.Lang.Throwable -> Java.Security.Cert.CertStoreException
参数
- cause
- Throwable
原因(此方法保存供以后检索 #getCause getCause() )。 (允许使用值 null ,并指示原因不存在或未知。
- 属性
注解
创建一个 CertStoreException 包装指定的可引发项。 这允许将任何异常转换为一个 CertStoreException,同时保留有关原因的信息,这对于调试可能很有用。 详细信息消息设置为 (cause==null ? null : cause.toString()) (通常包含原因的类和详细信息消息)。
Java文档java.security.cert.CertStoreException.CertStoreException(java.lang.Throwable)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
CertStoreException(String)
使用给定的详细信息消息创建一个 CertStoreException 。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public CertStoreException(string? msg);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Security.Cert.CertStoreException : string -> Java.Security.Cert.CertStoreException
参数
- msg
- String
详细信息消息
- 属性
注解
使用给定的详细信息消息创建一个 CertStoreException 。 详细信息消息描述 String 此特定异常。
Java文档java.security.cert.CertStoreException.CertStoreException(java.lang.String)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
CertStoreException(IntPtr, JniHandleOwnership)
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。
protected CertStoreException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.Cert.CertStoreException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.Cert.CertStoreException
参数
- transfer
- JniHandleOwnership
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
CertStoreException(String, Throwable)
使用指定的详细信息消息和原因创建一个 CertStoreException 。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public CertStoreException(string? msg, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Security.Cert.CertStoreException : string * Java.Lang.Throwable -> Java.Security.Cert.CertStoreException
参数
- msg
- String
详细信息消息
- cause
- Throwable
原因(此方法保存供以后检索 #getCause getCause() )。 (允许使用值 null ,并指示原因不存在或未知。
- 属性
注解
使用指定的详细信息消息和原因创建一个 CertStoreException 。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。