Org.Apache.Http.Conn.IConnectionReleaseTrigger.AbortConnection Method
Releases the connection without the option of keep-alive.

Syntax

[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 ()

Exceptions

TypeReason
Java.IO.IOExceptionin case of an IO problem. The connection will be released anyway.

Remarks

Releases the connection without the option of keep-alive. This is a "hard" release that implies a shutdown of the connection. Use IConnectionReleaseTrigger.ReleaseConnection for a graceful release.

[Android Documentation]

Requirements

Namespace: Org.Apache.Http.Conn
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1