IEofSensorWatcher.StreamClosed(Stream) Metodo

Definizione

Indica che l'oggetto EofSensorInputStream è chiuso.

[Android.Runtime.Register("streamClosed", "(Ljava/io/InputStream;)Z", "GetStreamClosed_Ljava_io_InputStream_Handler:Org.Apache.Http.Conn.IEofSensorWatcherInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool StreamClosed(System.IO.Stream? wrapped);
[<Android.Runtime.Register("streamClosed", "(Ljava/io/InputStream;)Z", "GetStreamClosed_Ljava_io_InputStream_Handler:Org.Apache.Http.Conn.IEofSensorWatcherInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member StreamClosed : System.IO.Stream -> bool

Parametri

wrapped
Stream

flusso sottostante che non ha raggiunto EOF

Valori restituiti

true se wrapped deve essere chiuso, false se deve essere lasciato solo

Attributi

Eccezioni

in caso di problema di I/O, ad esempio, se il watcher stesso chiude il flusso sottostante. Il chiamante lascerà il flusso di cui è stato eseguito il wrapping, come se false fosse stato restituito.

Commenti

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a