Method Conflict
| Improve this Doc View SourceConflict()
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 |
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 |
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 |
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 |