Sdílet prostřednictvím


HttpRequestBase.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")]
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

Parameters

releaseTrigger
IConnectionReleaseTrigger

Implements

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