PersistentConnectionFactory Constructor
.NET Framework 4
Creates a new instance of the PersistentConnectionFactory class.
Namespace: Microsoft.AspNet.SignalR.Hosting
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Sub New ( _
resolver As IDependencyResolver _
)
'Usage
Dim resolver As IDependencyResolver
Dim instance As New PersistentConnectionFactory(resolver)
public PersistentConnectionFactory(
IDependencyResolver resolver
)
public:
PersistentConnectionFactory(
IDependencyResolver^ resolver
)
new :
resolver:IDependencyResolver -> PersistentConnectionFactory
public function PersistentConnectionFactory(
resolver : IDependencyResolver
)
Parameters
- resolver
Type: Microsoft.AspNet.SignalR.IDependencyResolver
The dependency resolver to use for when creating the PersistentConnection .