Bearbeiten

Freigeben über


LocalServiceSecuritySettings.MaxStatefulNegotiations Property

Definition

Gets or sets the maximum number of concurrent security negotiations with clients that the service can participate in.

public:
 property int MaxStatefulNegotiations { int get(); void set(int value); };
public int MaxStatefulNegotiations { get; set; }
member this.MaxStatefulNegotiations : int with get, set
Public Property MaxStatefulNegotiations As Integer

Property Value

The maximum number of concurrent security negotiations with clients that the service can participate in. The default is 128.

Exceptions

The property is set to a value less than 0.

Examples

This example shows how set the MaxStatefulNegotiations value.

int maxStatefulNegotiationsNegotiations =
    settings.MaxStatefulNegotiations;
Dim maxStatefulNegotiationsNegotiations = settings.MaxStatefulNegotiations

Remarks

Negotiation sessions in excess of this limit are rejected and a SOAP fault is sent back to the client. The client typically must retry later, which allows some time for existing negotiations on the service to complete.

Applies to