语言

UnsupportedHttpVersionException 构造函数

定义

重载

名称 说明
UnsupportedHttpVersionException()

创建一个没有详细信息消息的异常。

UnsupportedHttpVersionException(String)

创建具有指定详细信息消息的异常。

UnsupportedHttpVersionException(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

UnsupportedHttpVersionException()

创建一个没有详细信息消息的异常。

[Android.Runtime.Register(".ctor", "()V", "")]
public UnsupportedHttpVersionException();
特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

UnsupportedHttpVersionException(String)

创建具有指定详细信息消息的异常。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public UnsupportedHttpVersionException(string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.Apache.Http.UnsupportedHttpVersionException : string -> Org.Apache.Http.UnsupportedHttpVersionException

参数

message
String
特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

UnsupportedHttpVersionException(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

protected UnsupportedHttpVersionException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.UnsupportedHttpVersionException : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.UnsupportedHttpVersionException

参数

javaReference
IntPtr

nativeint

IntPtr一个包含Java本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于