ScaleoutConfiguration.MaxQueueLength Property

.NET Framework 4.5

Gets or sets the maximum length of the outgoing send queue.

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

Syntax

'Declaration
Public Overridable Property MaxQueueLength As Integer 
    Get 
    Set
'Usage
Dim instance As ScaleoutConfiguration 
Dim value As Integer 

value = instance.MaxQueueLength

instance.MaxQueueLength = value
public virtual int MaxQueueLength { get; set; }
public:
virtual property int MaxQueueLength {
    int get ();
    void set (int value);
}
abstract MaxQueueLength : int with get, set 
override MaxQueueLength : int with get, set
function get MaxQueueLength () : int 
function set MaxQueueLength (value : int)

Property Value

Type: System.Int32
The maximum length of the outgoing send queue.

Remarks

Messages being sent to the backplane are queued up to this length. After the max length is reached, further sends will throw an InvalidOperationException. Set to <see cref="F:Microsoft.AspNet.SignalR.Messaging.ScaleoutConfiguration.DisableQueuing">ScaleoutConfiguration.DisableQueuing</see> to disable queuing. Defaults to disabled.

See Also

Reference

ScaleoutConfiguration Class

Microsoft.AspNet.SignalR.Messaging Namespace