ThrowOnDuplicate Property

ProfilePropertySettingsCollection.ThrowOnDuplicate Property


Gets a value indicating whether an error should be thrown if an attempt to create a duplicate object is made.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

protected override bool ThrowOnDuplicate { get; }

Property Value

Type: System.Boolean

true in all cases.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft