Share via


SignalRError.StatusCode Property

.NET Framework 4

The status code of the error (if it was a WebException)

Namespace:  Microsoft.AspNet.SignalR.Client
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

Syntax

'Declaration
Public Property StatusCode As HttpStatusCode 
    Get 
    Set
'Usage
Dim instance As SignalRError 
Dim value As HttpStatusCode 

value = instance.StatusCode

instance.StatusCode = value
public HttpStatusCode StatusCode { get; set; }
public:
property HttpStatusCode StatusCode {
    HttpStatusCode get ();
    void set (HttpStatusCode value);
}
member StatusCode : HttpStatusCode with get, set
function get StatusCode () : HttpStatusCode 
function set StatusCode (value : HttpStatusCode)

Property Value

Type: System.Net.HttpStatusCode
Returns HttpStatusCode.

See Also

Reference

SignalRError Class

Microsoft.AspNet.SignalR.Client Namespace