Share via


SecurityConfiguration.MaxTokens Property

Gets the maximum number of security tokens contained within an incoming SOAP message.

Namespace: Microsoft.Web.Services3.Security.Configuration
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim securityConfiguration1 As SecurityConfiguration

Dim returnValue As Integer
returnValue = securityConfiguration1.MaxTokens

Syntax

'Declaration
Public ReadOnly Property MaxTokens() As Integer
public int MaxTokens {get;}
public:
property int MaxTokens {
    int get();
}
public int get_MaxTokens();
public function get MaxTokens() : int;

Property Value

The maximum number of security tokens contained within an incoming SOAP message.

Remarks

A value of -1 specifies there is no limit. The default value is 5.

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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SecurityConfiguration Class
SecurityConfiguration Members
Microsoft.Web.Services3.Security.Configuration Namespace