HubProxyExtensions::GetValue<T> Method
.NET Framework 4.5 Namespace:
Microsoft.AspNet.SignalR.Client.Hubs
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
The value of the state variable.
Gets the value of a state variable.
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
[ExtensionAttribute] public: generic<typename T> static T GetValue( IHubProxy^ proxy, String^ name )
Type Parameters
- T
The type of the state variable
Parameters
- proxy
- Type: Microsoft.AspNet.SignalR.Client.Hubs::IHubProxy
The IHubProxy .
- name
- Type: System::String
The name of the state variable.
Return Value
Type: TThe value of the state variable.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IHubProxy. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.111).aspx or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.111).aspx.
Show: