Udostępnij za pośrednictwem


AuthorizeAttribute.RequireOutgoing Property

.NET Framework 4

Set to false to apply authorization only to the invocations of any of the Hub's server-side methods. This property only affects attributes applied to the Hub class. This property cannot be read.

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

Syntax

'Declaration
Public Property RequireOutgoing As Boolean 
    Get 
    Set
'Usage
Dim instance As AuthorizeAttribute 
Dim value As Boolean 

value = instance.RequireOutgoing

instance.RequireOutgoing = value
public bool RequireOutgoing { get; set; }
public:
property bool RequireOutgoing {
    bool get ();
    void set (bool value);
}
member RequireOutgoing : bool with get, set
function get RequireOutgoing () : boolean 
function set RequireOutgoing (value : boolean)

Property Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

AuthorizeAttribute Class

Microsoft.AspNet.SignalR Namespace