Search Results for

    Show / Hide Table of Contents

    Method NotFound

    | Improve this Doc View Source

    NotFound()

    Represents the situation where a service was unable to find a requested resource.

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

    NotFound(String)

    Represents the situation where a service was unable to find a requested resource.

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

    An error message.

    Returns
    Type Description
    Result
    | Improve this Doc View Source

    NotFound(IEnumerable<String>)

    Represents the situation where a service was unable to find a requested resource.

    Declaration
    public static Result NotFound(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

    NotFound(String, IEnumerable<String>)

    Represents the situation where a service was unable to find a requested resource.

    Declaration
    public static Result NotFound(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