语言

UserPrincipalNotFoundException 构造函数

定义

重载

名称 说明
UserPrincipalNotFoundException(String)

构造此类的实例。

UserPrincipalNotFoundException(IntPtr, JniHandleOwnership)

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

UserPrincipalNotFoundException(String)

构造此类的实例。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=26)]
public UserPrincipalNotFoundException(string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=26)>]
new Java.Nio.FileNio.Attributes.UserPrincipalNotFoundException : string -> Java.Nio.FileNio.Attributes.UserPrincipalNotFoundException

参数

name
String

主体名称;可以是 null

属性

注解

构造此类的实例。

Java文档java.nio.file.attribute.UserPrincipalNotFoundException.UserPrincipalNotFoundException(java.lang.String)。

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

适用于

UserPrincipalNotFoundException(IntPtr, JniHandleOwnership)

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

protected UserPrincipalNotFoundException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Nio.FileNio.Attributes.UserPrincipalNotFoundException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Nio.FileNio.Attributes.UserPrincipalNotFoundException

参数

javaReference
IntPtr

nativeint

对Java对象的 JNI 引用。

transfer
JniHandleOwnership

指定 JNI 引用的所有权是否传输到此实例。

注解

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

适用于