Partager via


KeyAlgorithmCollection.ThrowOnDuplicate Property

Gets a value indicating whether an attempt to add a duplicate keyAlgorithm element to the collection will cause an exception to be thrown.

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

Usage

'Usage
Dim keyAlgorithmCollection1 As KeyAlgorithmCollection

Dim returnValue As Boolean
returnValue = keyAlgorithmCollection1.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 keyAlgorithm element to this collection will cause 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

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