HttpURLConnection.ErrorStream Property

Definition

Returns the error stream if the connection failed but the server sent useful data nonetheless.

public virtual System.IO.Stream? ErrorStream { [Android.Runtime.Register("getErrorStream", "()Ljava/io/InputStream;", "GetGetErrorStreamHandler")] get; }
[<get: Android.Runtime.Register("getErrorStream", "()Ljava/io/InputStream;", "GetGetErrorStreamHandler")>]
member this.ErrorStream : System.IO.Stream

Property Value

Stream

an error stream if any, null if there have been no errors, the connection is not connected or the server sent no useful data.

Attributes

Remarks

Java documentation for java.net.HttpURLConnection.getErrorStream().

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