Click or drag to resize
StateNotFromCountryValidationError Class
Represents a validation error resulting from assigning a state not belonging to a certain country.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceStateNotFromCountryValidationError

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public class StateNotFromCountryValidationError : IValidationError

The StateNotFromCountryValidationError type exposes the following members.

Constructors
  NameDescription
Public methodStateNotFromCountryValidationError
Initializes a new instance of the StateNotFromCountryValidationError class.
Top
Properties
  NameDescription
Public propertyCountry
Country whose state is invalid.
Public propertyMessageKey
Gets a key which can be used to retrieve a localized error message.
Public propertyMessageParameters
Returns an array containing country and state display names.
Public propertyState
State which is invalid for given Country.
Top
Extension Methods
  NameDescription
Public Extension MethodGetMessage
Returns a localized message with substituted parameters for validationError.
(Defined by IValidationErrorExtensions.)
Top
See Also