ValidationError constructor (1 of 6)

namespace: Serenity.Services   assemblySerenity.Net.Core

Initializes a new instance of the ValidationError class.

public ValidationError()

See Also


ValidationError constructor (2 of 6)

namespace: Serenity.Services   assemblySerenity.Net.Core

Initializes a new instance of the ValidationError class.

public ValidationError(string message)
parameter description
message The message that describes the error.

See Also


ValidationError constructor (3 of 6)

namespace: Serenity.Services   assemblySerenity.Net.Core

Initializes a new instance of the ValidationError class.

public ValidationError(string message, Exception innerException)
parameter description
message The error message that explains the reason for the exception.
innerException The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

See Also


ValidationError constructor (4 of 6)

namespace: Serenity.Services   assemblySerenity.Net.Core

Initializes a new instance of the ValidationError class.

public ValidationError(string errorCode, string errorMessage)
parameter description
errorCode The error code.
errorMessage The error message.

See Also


ValidationError constructor (5 of 6)

namespace: Serenity.Services   assemblySerenity.Net.Core

Initializes a new instance of the ValidationError class.

public ValidationError(string errorCode, string arguments, string errorMessage)
parameter description
errorCode The error code.
arguments The arguments.
errorMessage The error message.

See Also


ValidationError constructor (6 of 6)

namespace: Serenity.Services   assemblySerenity.Net.Core

Initializes a new instance of the ValidationError class.

public ValidationError(string errorCode, string arguments, string errorMessageFormat, 
    params object[] formatArgs)
parameter description
errorCode The error code.
arguments The arguments.
errorMessageFormat The error message format.
formatArgs The format arguments.

See Also