HttpRequestBase.SetReleaseTrigger(IConnectionReleaseTrigger) 方法

定义

IConnectionReleaseTrigger设置可用于中止活动连接的回调。

[Android.Runtime.Register("setReleaseTrigger", "(Lorg/apache/http/conn/ConnectionReleaseTrigger;)V", "GetSetReleaseTrigger_Lorg_apache_http_conn_ConnectionReleaseTrigger_Handler")]
public virtual void SetReleaseTrigger (Org.Apache.Http.Conn.IConnectionReleaseTrigger? releaseTrigger);
[<Android.Runtime.Register("setReleaseTrigger", "(Lorg/apache/http/conn/ConnectionReleaseTrigger;)V", "GetSetReleaseTrigger_Lorg_apache_http_conn_ConnectionReleaseTrigger_Handler")>]
abstract member SetReleaseTrigger : Org.Apache.Http.Conn.IConnectionReleaseTrigger -> unit
override this.SetReleaseTrigger : Org.Apache.Http.Conn.IConnectionReleaseTrigger -> unit

参数

releaseTrigger
IConnectionReleaseTrigger

实现

属性

例外

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于