Org.Apache.Http.Conn.IEofSensorWatcher.StreamAbort Method
Indicates that the Org.Apache.Http.Conn.EofSensorInputStream is aborted.

Syntax

[Android.Runtime.Register("streamAbort", "(Ljava/io/InputStream;)Z", "GetStreamAbort_Ljava_io_InputStream_Handler:Org.Apache.Http.Conn.IEofSensorWatcherInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool StreamAbort (System.IO.Stream wrapped)

Parameters

wrapped
the underlying stream which has not reached EOF

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionin case of an IO problem, for example if the watcher itself closes the underlying stream. The caller will leave the wrapped stream alone, as if false was returned.

Remarks

Indicates that the Org.Apache.Http.Conn.EofSensorInputStream is aborted. This method will be called only if EOF was not detected before aborting. Otherwise, IEofSensorWatcher.EofDetected(System.IO.Stream) is called.

This method will also be invoked when an input operation causes an IOException to be thrown to make sure the input stream gets shut down.

[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