Search Results for

    Show / Hide Table of Contents

    Method Conflict

    | Improve this Doc View Source

    Conflict()

    Represents a situation where a service is in conflict due to the current state of a resource.

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

    Conflict(String)

    Represents a situation where a service is in conflict due to the current state of a resource.

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

    An error message.

    Returns
    Type Description
    Result
    | Improve this Doc View Source

    Conflict(IEnumerable<String>)

    Represents a situation where a service is in conflict due to the current state of a resource.

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

    Conflict(String, IEnumerable<String>)

    Represents a situation where a service is in conflict due to the current state of a resource.

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