ValidatingPropertiesEventArgs::FailedProperties Property
Gets the collection that contains profile properties that have failed validation.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
The FailedProperties property contains a collection of the names of the properties that have failed validation. If you create an event handler for the ValidatingProperties event, you add the names of the properties that fail validation to the collection in the FailedProperties property. The SetPropertiesForCurrentUser method returns the collection in the FailedProperties property so that you can determine which properties failed validation.
The following example shows an event handler for the ValidatingProperties event. When the value passed for FirstName property is empty or null, the FirstName property is added to the FailedProperties collection.
Available since 3.5