Partager via


PersistentResponse.ExcludeFilter Property

.NET Framework 4

Gets or sets a filter that determines whether messages should be written to the client.

Namespace:  Microsoft.AspNet.SignalR.Transports
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Public Property ExcludeFilter As Func(Of Message, Boolean)
    Get 
    Private Set
'Usage
Dim instance As PersistentResponse 
Dim value As Func(Of Message, Boolean)

value = instance.ExcludeFilter
public Func<Message, bool> ExcludeFilter { get; private set; }
public:
property Func<Message^, bool>^ ExcludeFilter {
    Func<Message^, bool>^ get ();
    private: void set (Func<Message^, bool>^ value);
}
member ExcludeFilter : Func<Message, bool> with get, private set
function get ExcludeFilter () : Func<Message, boolean>
private function set ExcludeFilter (value : Func<Message, boolean>)

Property Value

Type: System.Func<Message, Boolean>
A filter that determines whether messages should be written to the client.

See Also

Reference

PersistentResponse Class

Microsoft.AspNet.SignalR.Transports Namespace