SqlScaleoutConfiguration Class

.NET Framework 4.5

Settings for the SQL Server scale-out message bus implementation.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Messaging.ScaleoutConfiguration
    Microsoft.AspNet.SignalR.SqlScaleoutConfiguration

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

Syntax

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

The SqlScaleoutConfiguration type exposes the following members.

Constructors

  Name Description
Public method SqlScaleoutConfiguration Initializes a new instance of the SqlScaleoutConfiguration class.

Top

Properties

  Name Description
Public property ConnectionString Gets or sets the SQL Server connection string to use.
Public property MaxQueueLength Gets or sets the maximum length of the outgoing send queue. (Inherited from ScaleoutConfiguration.)
Public property TableCount Gets or sets the number of tables to store messages in. Using more tables reduces lock contention and may increase throughput. This must be consistent between all nodes in the web farm. Defaults to 1.

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