IAbortableHttpRequest.SetReleaseTrigger(IConnectionReleaseTrigger) 方法

定义

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

[Android.Runtime.Register("setReleaseTrigger", "(Lorg/apache/http/conn/ConnectionReleaseTrigger;)V", "GetSetReleaseTrigger_Lorg_apache_http_conn_ConnectionReleaseTrigger_Handler:Org.Apache.Http.Client.Methods.IAbortableHttpRequestInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public 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:Org.Apache.Http.Client.Methods.IAbortableHttpRequestInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetReleaseTrigger : Org.Apache.Http.Conn.IConnectionReleaseTrigger -> unit

参数

releaseTrigger
IConnectionReleaseTrigger
属性

例外

注解

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

适用于