Udostępnij za pośrednictwem


HubConfiguration Class

.NET Framework 4

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.ConnectionConfiguration
    Microsoft.AspNet.SignalR.HubConfiguration

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

Syntax

'Declaration
Public Class HubConfiguration _
    Inherits ConnectionConfiguration
'Usage
Dim instance As HubConfiguration
public class HubConfiguration : ConnectionConfiguration
public ref class HubConfiguration : public ConnectionConfiguration
type HubConfiguration =  
    class 
        inherit ConnectionConfiguration 
    end
public class HubConfiguration extends ConnectionConfiguration

The HubConfiguration type exposes the following members.

Constructors

  Name Description
Public method HubConfiguration

Top

Properties

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

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

Microsoft.AspNet.SignalR Namespace