Results.Conflict Methode

Definition

Überlädt

Conflict(Object)

Erzeugt eine Status409Conflict Antwort.

Conflict<TValue>(TValue)

Erzeugt eine Status409Conflict Antwort.

Conflict(Object)

Erzeugt eine Status409Conflict Antwort.

public static Microsoft.AspNetCore.Http.IResult Conflict (object? error = default);
static member Conflict : obj -> Microsoft.AspNetCore.Http.IResult
Public Shared Function Conflict (Optional error As Object = Nothing) As IResult

Parameter

error
Object

Ein Fehlerobjekt, das in den HTTP-Antworttext eingeschlossen werden soll.

Gibt zurück

Die für die Antwort erstellte IResult .

Gilt für:

Conflict<TValue>(TValue)

Erzeugt eine Status409Conflict Antwort.

public static Microsoft.AspNetCore.Http.IResult Conflict<TValue> (TValue? error);
static member Conflict : 'Value -> Microsoft.AspNetCore.Http.IResult
Public Shared Function Conflict(Of TValue) (error As TValue) As IResult

Typparameter

TValue

Parameter

error
TValue

Ein Fehlerobjekt, das in den HTTP-Antworttext eingeschlossen werden soll.

Gibt zurück

Die für die Antwort erstellte IResult .

Gilt für: