Search Results for

    Show / Hide Table of Contents

    Method Failure

    | Improve this Doc View Source

    Failure()

    Represents an error that occurred during the execution of a service.

    Declaration
    public static Result Failure()
    Returns
    Type Description
    Result
    | Improve this Doc View Source

    Failure(String)

    Represents an error that occurred during the execution of a service.

    Declaration
    public static Result Failure(string message)
    Parameters
    Type Name Description
    String message

    An error message.

    Returns
    Type Description
    Result
    | Improve this Doc View Source

    Failure(IEnumerable<String>)

    Represents an error that occurred during the execution of a service.

    Declaration
    public static Result Failure(IEnumerable<string> errors)
    Parameters
    Type Name Description
    IEnumerable<String> errors

    A collection of string that contains error messages.

    Returns
    Type Description
    Result
    | Improve this Doc View Source

    Failure(String, IEnumerable<String>)

    Represents an error that occurred during the execution of a service.

    Declaration
    public static Result Failure(string message, IEnumerable<string> errors)
    Parameters
    Type Name Description
    String message

    A general description of the error.

    IEnumerable<String> errors

    A collection of errors.

    Returns
    Type Description
    Result
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2023 SimpleResults