Udostępnij za pośrednictwem


IAbortableHttpRequest.SetReleaseTrigger(IConnectionReleaseTrigger) Method

Definition

Sets the IConnectionReleaseTrigger callback that can be used to abort an active connection.

[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

Parameters

releaseTrigger
IConnectionReleaseTrigger
Attributes

Exceptions

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.

Applies to