ProviderMismatchException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ProviderMismatchException() |
Constructs an instance of this class. |
| ProviderMismatchException(String) |
Constructs an instance of this class. |
| ProviderMismatchException(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
ProviderMismatchException()
Constructs an instance of this class.
[Android.Runtime.Register(".ctor", "()V", "", ApiSince=26)]
public ProviderMismatchException();
- Attributes
Remarks
Constructs an instance of this class.
Java documentation for java.nio.file.ProviderMismatchException.ProviderMismatchException().
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
ProviderMismatchException(String)
Constructs an instance of this class.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=26)]
public ProviderMismatchException(string? msg);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=26)>]
new Java.Nio.FileNio.ProviderMismatchException : string -> Java.Nio.FileNio.ProviderMismatchException
Parameters
- msg
- String
the detail message
- Attributes
Remarks
Constructs an instance of this class.
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
ProviderMismatchException(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected ProviderMismatchException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Nio.FileNio.ProviderMismatchException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Nio.FileNio.ProviderMismatchException
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.