Share via


DuplicateFormatFlagsException Constructors

Definition

Overloads

DuplicateFormatFlagsException(String)

Constructs an instance of this class with the specified flags.

DuplicateFormatFlagsException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

DuplicateFormatFlagsException(String)

Constructs an instance of this class with the specified flags.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public DuplicateFormatFlagsException (string? f);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Util.DuplicateFormatFlagsException : string -> Java.Util.DuplicateFormatFlagsException

Parameters

f
String

The set of format flags which contain a duplicate flag.

Attributes

Remarks

Constructs an instance of this class with the specified flags.

Java documentation for java.util.DuplicateFormatFlagsException.DuplicateFormatFlagsException(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

DuplicateFormatFlagsException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected DuplicateFormatFlagsException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.DuplicateFormatFlagsException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.DuplicateFormatFlagsException

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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