HostContext Constructor
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Hosting
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Sub New ( _
request As IRequest, _
response As IResponse _
)
'Usage
Dim request As IRequest
Dim response As IResponse
Dim instance As New HostContext(request, _
response)
public HostContext(
IRequest request,
IResponse response
)
public:
HostContext(
IRequest^ request,
IResponse^ response
)
new :
request:IRequest *
response:IResponse -> HostContext
public function HostContext(
request : IRequest,
response : IResponse
)
Parameters
- request
Type: Microsoft.AspNet.SignalR.IRequest
- response
Type: Microsoft.AspNet.SignalR.Hosting.IResponse