System.Net.WebException.Status Property

Gets the status of the response.

Syntax

public WebExceptionStatus Status { get; }

Value

A System.Net.WebExceptionStatus value that indicates the status of the response.

Remarks

The WebException.Status property indicates the reason for the System.Net.WebException.

The value of WebException.Status is one of the System.Net.WebExceptionStatus values.

Note:

The WebExceptionStatus.ProxyNameResolutionFailure error is not returned to win8_appname_long apps.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0