WebSocketTransport 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, _
serializer As IJsonSerializer, _
heartbeat As ITransportHeartbeat, _
performanceCounterWriter As IPerformanceCounterManager, _
traceManager As ITraceManager _
)
'Usage
Dim context As HostContext
Dim serializer As IJsonSerializer
Dim heartbeat As ITransportHeartbeat
Dim performanceCounterWriter As IPerformanceCounterManager
Dim traceManager As ITraceManager
Dim instance As New WebSocketTransport(context, _
serializer, heartbeat, performanceCounterWriter, _
traceManager)
public WebSocketTransport(
HostContext context,
IJsonSerializer serializer,
ITransportHeartbeat heartbeat,
IPerformanceCounterManager performanceCounterWriter,
ITraceManager traceManager
)
public:
WebSocketTransport(
HostContext^ context,
IJsonSerializer^ serializer,
ITransportHeartbeat^ heartbeat,
IPerformanceCounterManager^ performanceCounterWriter,
ITraceManager^ traceManager
)
new :
context:HostContext *
serializer:IJsonSerializer *
heartbeat:ITransportHeartbeat *
performanceCounterWriter:IPerformanceCounterManager *
traceManager:ITraceManager -> WebSocketTransport
public function WebSocketTransport(
context : HostContext,
serializer : IJsonSerializer,
heartbeat : ITransportHeartbeat,
performanceCounterWriter : IPerformanceCounterManager,
traceManager : ITraceManager
)
Parameters
- context
Type: Microsoft.AspNet.SignalR.Hosting.HostContext
- serializer
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