Share via


IConnectionManager.GetHubContext<T> Method

.NET Framework 4

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

Syntax

'Declaration
Function GetHubContext(Of T As IHub) As IHubContext
'Usage
Dim instance As IConnectionManager 
Dim returnValue As IHubContext 

returnValue = instance.GetHubContext()
IHubContext GetHubContext<T>()
where T : IHub
generic<typename T>
where T : IHub 
IHubContext^ GetHubContext()
abstract GetHubContext : unit -> IHubContext   when 'T : IHub
JScript does not support generic types and methods.

Type Parameters

  • T

Return Value

Type: Microsoft.AspNet.SignalR.IHubContext

See Also

Reference

IConnectionManager Interface

GetHubContext Overload

Microsoft.AspNet.SignalR.Infrastructure Namespace