Partager via


SecurityTokenManagerCollection.ThrowOnDuplicate Property

Gets a value that indicates whether an attempt to add a duplicate <securityTokenManager> element to the collection causes an exception to be thrown.

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

Usage

'Usage
Dim securityTokenManagerCollection1 As SecurityTokenManagerCollection

Dim returnValue As Boolean
returnValue = securityTokenManagerCollection1.ThrowOnDuplicate

Syntax

'Declaration
Protected Overrides ReadOnly Property ThrowOnDuplicate() As Boolean
protected override bool ThrowOnDuplicate {get;}
protected:
property virtual bool ThrowOnDuplicate {
    bool get();
}
override protected boolean get_ThrowOnDuplicate();
protected override function get ThrowOnDuplicate() : Boolean;

Property Value

true if an attempt to add a duplicate <securityTokenManager> element to this collection causes an exception to be thrown; otherwise, false.

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

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