Share via


Status Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the status of the response.

Namespace:  System.Net
Assembly:  System.Http (in System.Http.dll)

Syntax

'Declaration
Public ReadOnly Property Status As WebExceptionStatus
public WebExceptionStatus Status { get; }
public:
property WebExceptionStatus Status {
    WebExceptionStatus get ();
}
member Status : WebExceptionStatus with get
function get Status () : WebExceptionStatus

Property Value

Type: System.Net. . :: . .WebExceptionStatus
One of the WebExceptionStatus values.

Remarks

The Status property indicates the reason for the WebException.

The value of Status is one of the WebExceptionStatus values.

.NET Framework Security

See Also

Reference

WebException Class

System.Net Namespace