Share via


ConnectionConfiguration.EnableCrossDomain Property

.NET Framework 4

Determines if browsers can make cross domain requests to SignalR endpoints.

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

Syntax

'Declaration
Public Property EnableCrossDomain As Boolean 
    Get 
    Set
'Usage
Dim instance As ConnectionConfiguration 
Dim value As Boolean 

value = instance.EnableCrossDomain

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

Property Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

ConnectionConfiguration Class

Microsoft.AspNet.SignalR Namespace