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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.