PersistentResponse Constructor (Func<Message, Boolean>)
.NET Framework 4
Creates a new instance of PersistentResponse.
Namespace: Microsoft.AspNet.SignalR.Transports
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Sub New ( _
exclude As Func(Of Message, Boolean) _
)
'Usage
Dim exclude As Func(Of Message, Boolean)
Dim instance As New PersistentResponse(exclude)
public PersistentResponse(
Func<Message, bool> exclude
)
public:
PersistentResponse(
Func<Message^, bool>^ exclude
)
new :
exclude:Func<Message, bool> -> PersistentResponse
public function PersistentResponse(
exclude : Func<Message, boolean>
)
Parameters
- exclude
Type: System.Func<Message, Boolean>
A filter that determines whether messages should be written to the client.