Request

Response

    ValidationFailedException class

    Represents an exception that is thrown when validation fails during exchange operations. This exception is thrown when !:IExchange.ValidateCanCreateExchangeAsync or !:IExchange.ValidateCanUpdateExchangeAsync implementation in connector returns a non-empty collection of validation error strings. UI relies on this exception to display the corresponding error notification toast instead of showing the default error notification.

    public class ValidationFailedException : Exception
    

    Public Members

    namedescription
    ValidationFailedException(…) Initializes a new instance of the ValidationFailedException class with a specified error message and validation context. (2 constructors)
    Context { get; } Gets the validation context that indicates the type of operation that failed validation.

    See Also