LongPollingTransport Constructor (HostContext, IJsonSerializer, ITransportHeartbeat, IPerformanceCounterManager, ITraceManager)
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Transports
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Sub New ( _
context As HostContext, _
jsonSerializer As IJsonSerializer, _
heartbeat As ITransportHeartbeat, _
performanceCounterManager As IPerformanceCounterManager, _
traceManager As ITraceManager _
)
'Usage
Dim context As HostContext
Dim jsonSerializer As IJsonSerializer
Dim heartbeat As ITransportHeartbeat
Dim performanceCounterManager As IPerformanceCounterManager
Dim traceManager As ITraceManager
Dim instance As New LongPollingTransport(context, _
jsonSerializer, heartbeat, performanceCounterManager, _
traceManager)
public LongPollingTransport(
HostContext context,
IJsonSerializer jsonSerializer,
ITransportHeartbeat heartbeat,
IPerformanceCounterManager performanceCounterManager,
ITraceManager traceManager
)
public:
LongPollingTransport(
HostContext^ context,
IJsonSerializer^ jsonSerializer,
ITransportHeartbeat^ heartbeat,
IPerformanceCounterManager^ performanceCounterManager,
ITraceManager^ traceManager
)
new :
context:HostContext *
jsonSerializer:IJsonSerializer *
heartbeat:ITransportHeartbeat *
performanceCounterManager:IPerformanceCounterManager *
traceManager:ITraceManager -> LongPollingTransport
public function LongPollingTransport(
context : HostContext,
jsonSerializer : IJsonSerializer,
heartbeat : ITransportHeartbeat,
performanceCounterManager : IPerformanceCounterManager,
traceManager : ITraceManager
)
Parameters
- context
Type: Microsoft.AspNet.SignalR.Hosting.HostContext
- jsonSerializer
Type: Microsoft.AspNet.SignalR.Json.IJsonSerializer
- heartbeat
Type: Microsoft.AspNet.SignalR.Transports.ITransportHeartbeat
- performanceCounterManager
Type: Microsoft.AspNet.SignalR.Infrastructure.IPerformanceCounterManager
- traceManager
Type: Microsoft.AspNet.SignalR.Tracing.ITraceManager