Share via


ClientHubInvocation.State Property

.NET Framework 4

A key-value store representing the hub state on the server that has changed since the last time the hub state was sent to the client.

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

Syntax

'Declaration
<JsonPropertyAttribute("S", NullValueHandling := NullValueHandling.Ignore)> _
Public Property State As IDictionary(Of String, Object)
    Get 
    Set
'Usage
Dim instance As ClientHubInvocation 
Dim value As IDictionary(Of String, Object)

value = instance.State

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

Property Value

Type: System.Collections.Generic.IDictionary<String, Object>
Returns IDictionary<TKey, TValue>.

See Also

Reference

ClientHubInvocation Class

Microsoft.AspNet.SignalR.Hubs Namespace