InvocationTargetException 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
InvocationTargetException() |
Constructs an |
InvocationTargetException(Throwable) |
Constructs a InvocationTargetException with a target exception. |
InvocationTargetException(Throwable, String) |
Constructs a InvocationTargetException with a target exception and a detail message. |
InvocationTargetException(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
InvocationTargetException()
Constructs an InvocationTargetException
with
null
as the target exception.
[Android.Runtime.Register(".ctor", "()V", "")]
protected InvocationTargetException ();
- Attributes
Remarks
Constructs an InvocationTargetException
with null
as the target exception.
Java documentation for java.lang.reflect.InvocationTargetException.InvocationTargetException()
.
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
InvocationTargetException(Throwable)
Constructs a InvocationTargetException with a target exception.
[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
Parameters
- target
- Throwable
the target exception
- Attributes
Remarks
Constructs a InvocationTargetException with a target exception.
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
InvocationTargetException(Throwable, String)
Constructs a InvocationTargetException with a target exception and a detail message.
[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
Parameters
- target
- Throwable
the target exception
- s
- String
the detail message
- Attributes
Remarks
Constructs a InvocationTargetException with a target exception and a detail message.
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
InvocationTargetException(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected InvocationTargetException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Lang.Reflect.InvocationTargetException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Lang.Reflect.InvocationTargetException
Parameters
- 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.