共用方式為


IncompleteAnnotationException Constructors

Definition

Overloads

IncompleteAnnotationException(Class, String)

Constructs an IncompleteAnnotationException to indicate that the named element was missing from the specified annotation interface.

IncompleteAnnotationException(IntPtr, JniHandleOwnership)

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

IncompleteAnnotationException(Class, String)

Constructs an IncompleteAnnotationException to indicate that the named element was missing from the specified annotation interface.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Class;Ljava/lang/String;)V", "")]
public IncompleteAnnotationException (Java.Lang.Class? annotationType, string? elementName);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Class;Ljava/lang/String;)V", "")>]
new Java.Lang.Annotation.IncompleteAnnotationException : Java.Lang.Class * string -> Java.Lang.Annotation.IncompleteAnnotationException

Parameters

annotationType
Class

the Class object for the annotation interface

elementName
String

the name of the missing element

Attributes

Remarks

Constructs an IncompleteAnnotationException to indicate that the named element was missing from the specified annotation interface.

Java documentation for java.lang.annotation.IncompleteAnnotationException.IncompleteAnnotationException(java.lang.Class<? extends java.lang.annotation.Annotation>, 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

IncompleteAnnotationException(IntPtr, JniHandleOwnership)

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

protected IncompleteAnnotationException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Lang.Annotation.IncompleteAnnotationException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Lang.Annotation.IncompleteAnnotationException

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