LocalServiceSecuritySettings.MaxStatefulNegotiations Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.