ForeverTransport 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
Protected Sub New ( _
context As HostContext, _
jsonSerializer As IJsonSerializer, _
heartbeat As ITransportHeartbeat, _
performanceCounterWriter As IPerformanceCounterManager, _
traceManager As ITraceManager _
)
'Usage
Dim context As HostContext
Dim jsonSerializer As IJsonSerializer
Dim heartbeat As ITransportHeartbeat
Dim performanceCounterWriter As IPerformanceCounterManager
Dim traceManager As ITraceManager
Dim instance As New ForeverTransport(context, _
jsonSerializer, heartbeat, performanceCounterWriter, _
traceManager)
protected ForeverTransport(
HostContext context,
IJsonSerializer jsonSerializer,
ITransportHeartbeat heartbeat,
IPerformanceCounterManager performanceCounterWriter,
ITraceManager traceManager
)
protected:
ForeverTransport(
HostContext^ context,
IJsonSerializer^ jsonSerializer,
ITransportHeartbeat^ heartbeat,
IPerformanceCounterManager^ performanceCounterWriter,
ITraceManager^ traceManager
)
new :
context:HostContext *
jsonSerializer:IJsonSerializer *
heartbeat:ITransportHeartbeat *
performanceCounterWriter:IPerformanceCounterManager *
traceManager:ITraceManager -> ForeverTransport
protected function ForeverTransport(
context : HostContext,
jsonSerializer : IJsonSerializer,
heartbeat : ITransportHeartbeat,
performanceCounterWriter : 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
- performanceCounterWriter
Type: Microsoft.AspNet.SignalR.Infrastructure.IPerformanceCounterManager
- traceManager
Type: Microsoft.AspNet.SignalR.Tracing.ITraceManager