Share via


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

See Also

Reference

WebSocketTransport Class

WebSocketTransport Overload

Microsoft.AspNet.SignalR.Transports Namespace