Share via


UserPrincipalNotFoundException.Name Property

Definition

Returns the user principal name if this exception was created with the user principal name that was not found, otherwise null.

public virtual string? Name { [Android.Runtime.Register("getName", "()Ljava/lang/String;", "GetGetNameHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getName", "()Ljava/lang/String;", "GetGetNameHandler", ApiSince=26)>]
member this.Name : string

Property Value

the user principal name or null

Attributes

Remarks

Returns the user principal name if this exception was created with the user principal name that was not found, otherwise null.

Java documentation for java.nio.file.attribute.UserPrincipalNotFoundException.getName().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to