Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HubConfiguration Class

.NET Framework 4
.NET Framework 4

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

public class HubConfiguration : ConnectionConfiguration

The HubConfiguration type exposes the following members.

Public propertyEnableCrossDomain Determines if browsers can make cross domain requests to SignalR endpoints. (Inherited from ConnectionConfiguration.)
Public propertyEnableDetailedErrorsDetermines whether detailed exceptions thrown in Hub methods get reported back the invoking client. Defaults to false.
Public propertyEnableJavaScriptProxiesDetermines whether JavaScript proxies for the server-side hubs should be auto generated at {Path}/hubs. Defaults to true.
Public propertyResolverThe dependency resolver to use for the hub connection. (Inherited from ConnectionConfiguration.)

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft