Share via


HubResponse.Error Property

.NET Framework 4

The exception that occurs as a result of invoking the hub method.

Namespace:  Microsoft.AspNet.SignalR.Hubs
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
<JsonPropertyAttribute("E", NullValueHandling := NullValueHandling.Ignore)> _
Public Property Error As String 
    Get 
    Set
'Usage
Dim instance As HubResponse 
Dim value As String 

value = instance.Error

instance.Error = value
[JsonPropertyAttribute("E", NullValueHandling = NullValueHandling.Ignore)]
public string Error { get; set; }
[JsonPropertyAttribute(L"E", NullValueHandling = NullValueHandling::Ignore)]
public:
property String^ Error {
    String^ get ();
    void set (String^ value);
}
[<JsonPropertyAttribute("E", NullValueHandling = NullValueHandling.Ignore)>]
member Error : string with get, set
function get Error () : String 
function set Error (value : String)

Property Value

Type: System.String
Returns String.

See Also

Reference

HubResponse Class

Microsoft.AspNet.SignalR.Hubs Namespace