Share via


AccountStoreCollection.OnValidate Method (Object)

 

Checks that the specified object uses the AccountStore type. This ensures that the AccountStoreCollection collection contains only objects of the AccountStore class.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

protected override void OnValidate(
    object value
)
protected:
virtual void OnValidate(
    Object^ value
) override
override OnValidate : 
        value:Object -> unit
Protected Overrides Sub OnValidate (
    value As Object
)

Parameters

Exceptions

Exception Condition
ArgumentException

If the value is not using the AccountStore type.

See Also

AccountStoreCollection Class
System.Web.Security.SingleSignOn Namespace

Return to top