Language

DirectoryNotEmptyException Constructors

Definition

Overloads

Name Description
DirectoryNotEmptyException(String)

Constructs an instance of this class.

DirectoryNotEmptyException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

DirectoryNotEmptyException(String)

Constructs an instance of this class.

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

Parameters

dir
String

a string identifying the directory or null if not known

Attributes

Remarks

Constructs an instance of this class.

Java documentation for java.nio.file.DirectoryNotEmptyException.DirectoryNotEmptyException(java.lang.String).

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

DirectoryNotEmptyException(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

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