Otter SDK Reference
Version:

Failure(System.Collections.Generic.IEnumerable<string> errorMessages) Method

Returns a ConfigurationTestResult instance with the specified error messages.

Syntax

public static ConfigurationTestResult Failure(IEnumerable<string> errorMessages)

Parameters

errorMessages
Type: System.Collections.Generic.IEnumerable<string>

The error messages.

Returns

ConfigurationTestResult instance with the specified error messages.

Exceptions

System.ArgumentNullException

errorMessages is null (Nothing in Visual Basic).