InvocationTargetException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| InvocationTargetException() |
构造一个 |
| InvocationTargetException(Throwable) |
构造具有目标异常的 InvocationTargetException。 |
| InvocationTargetException(Throwable, String) |
使用目标异常和详细信息消息构造 InvocationTargetException。 |
| InvocationTargetException(IntPtr, JniHandleOwnership) |
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。 |
InvocationTargetException()
构造一个 InvocationTargetException 目标 null 异常。
[Android.Runtime.Register(".ctor", "()V", "")]
protected InvocationTargetException();
- 属性
注解
构造一个 InvocationTargetException 目标 null 异常。
Java文档java.lang.reflect.InvocationTargetException.InvocationTargetException()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
InvocationTargetException(Throwable)
构造具有目标异常的 InvocationTargetException。
[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
参数
- target
- Throwable
目标异常
- 属性
注解
构造具有目标异常的 InvocationTargetException。
Java文档java.lang.reflect.InvocationTargetException.InvocationTargetException(java.lang.Throwable)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
InvocationTargetException(Throwable, String)
使用目标异常和详细信息消息构造 InvocationTargetException。
[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
参数
- target
- Throwable
目标异常
- s
- String
详细信息消息
- 属性
注解
使用目标异常和详细信息消息构造 InvocationTargetException。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
InvocationTargetException(IntPtr, JniHandleOwnership)
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。
protected InvocationTargetException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Lang.Reflect.InvocationTargetException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Lang.Reflect.InvocationTargetException
参数
- transfer
- JniHandleOwnership
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。