Org.Apache.Http.Conn.EofSensorInputStream.CheckAbort Method
Detects stream abort and notifies the watcher.

Syntax

[Android.Runtime.Register("checkAbort", "()V", "GetCheckAbortHandler")]
protected virtual void CheckAbort ()

Exceptions

TypeReason
Java.IO.IOExceptionin case of an IO problem on closing the underlying stream

Remarks

Detects stream abort and notifies the watcher. There's not much to detect since this is called by EofSensorInputStream.AbortConnection. The watcher will only be notified if this stream is aborted for the first time and before EOF has been detected or the stream has been EofSensorInputStream.close() gracefully. This stream will be detached from the underlying stream to prevent multiple notifications to the watcher.

[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