Compartir a través de


IConnectionReleaseTrigger.AbortConnection Method

Definition

Releases the connection without the option of keep-alive.

[Android.Runtime.Register("abortConnection", "()V", "GetAbortConnectionHandler:Org.Apache.Http.Conn.IConnectionReleaseTriggerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void AbortConnection ();
[<Android.Runtime.Register("abortConnection", "()V", "GetAbortConnectionHandler:Org.Apache.Http.Conn.IConnectionReleaseTriggerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member AbortConnection : 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