Share via


IConnectionReleaseTrigger.ReleaseConnection Method

Definition

Releases the connection with the option of keep-alive.

[Android.Runtime.Register("releaseConnection", "()V", "GetReleaseConnectionHandler:Org.Apache.Http.Conn.IConnectionReleaseTriggerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void ReleaseConnection ();
[<Android.Runtime.Register("releaseConnection", "()V", "GetReleaseConnectionHandler:Org.Apache.Http.Conn.IConnectionReleaseTriggerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ReleaseConnection : unit -> unit
Attributes

Exceptions

in case of an IO problem. The connection will be released anyway.

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