WebSocketTransport Constructor (HostContext, IDependencyResolver)
.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, _
resolver As IDependencyResolver _
)
'Usage
Dim context As HostContext
Dim resolver As IDependencyResolver
Dim instance As New WebSocketTransport(context, _
resolver)
public WebSocketTransport(
HostContext context,
IDependencyResolver resolver
)
public:
WebSocketTransport(
HostContext^ context,
IDependencyResolver^ resolver
)
new :
context:HostContext *
resolver:IDependencyResolver -> WebSocketTransport
public function WebSocketTransport(
context : HostContext,
resolver : IDependencyResolver
)
Parameters
- context
Type: Microsoft.AspNet.SignalR.Hosting.HostContext
- resolver
Type: Microsoft.AspNet.SignalR.IDependencyResolver