Langage

InvocationTargetException Constructeurs

Définition

Surcharges

Nom Description
InvocationTargetException()

Construit un InvocationTargetException avec null comme exception cible.

InvocationTargetException(Throwable)

Construit une exception InvocationTargetException avec une exception cible.

InvocationTargetException(Throwable, String)

Construit une exception InvocationTargetException avec une exception cible et un message détaillé.

InvocationTargetException(IntPtr, JniHandleOwnership)

Constructeur utilisé lors de la création de représentations managées d’objets JNI ; appelée par le runtime.

InvocationTargetException()

Construit un InvocationTargetException avec null comme exception cible.

[Android.Runtime.Register(".ctor", "()V", "")]
protected InvocationTargetException();
Attributs

Remarques

Construit un InvocationTargetException avec null comme exception cible.

Java documentation pour java.lang.reflect.InvocationTargetException.InvocationTargetException().

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à

InvocationTargetException(Throwable)

Construit une exception InvocationTargetException avec une exception cible.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public InvocationTargetException(Java.Lang.Throwable? target);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Lang.Reflect.InvocationTargetException : Java.Lang.Throwable -> Java.Lang.Reflect.InvocationTargetException

Paramètres

target
Throwable

l’exception cible

Attributs

Remarques

Construit une exception InvocationTargetException avec une exception cible.

Java documentation pour java.lang.reflect.InvocationTargetException.InvocationTargetException(java.lang.Throwable).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à

InvocationTargetException(Throwable, String)

Construit une exception InvocationTargetException avec une exception cible et un message détaillé.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;Ljava/lang/String;)V", "")]
public InvocationTargetException(Java.Lang.Throwable? target, string? s);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;Ljava/lang/String;)V", "")>]
new Java.Lang.Reflect.InvocationTargetException : Java.Lang.Throwable * string -> Java.Lang.Reflect.InvocationTargetException

Paramètres

target
Throwable

l’exception cible

s
String

message détaillé

Attributs

Remarques

Construit une exception InvocationTargetException avec une exception cible et un message détaillé.

Java documentation pour java.lang.reflect.InvocationTargetException.InvocationTargetException(java.lang.Throwable, java.lang.String).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à

InvocationTargetException(IntPtr, JniHandleOwnership)

Constructeur utilisé lors de la création de représentations managées d’objets JNI ; appelée par le runtime.

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

Paramètres

javaReference
IntPtr

nativeint

Contenant IntPtrune référence d’objet Java Native Interface (JNI).

transfer
JniHandleOwnership

Indiquant JniHandleOwnershipcomment gérer javaReference

Remarques

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à