TypedResults.Conflict Methode

Definition

Überlädt

Conflict()

Erzeugt eine Status409Conflict Antwort.

Conflict<TValue>(TValue)

Erzeugt eine Status409Conflict Antwort.

Conflict()

Quelle:
TypedResults.cs

Erzeugt eine Status409Conflict Antwort.

public static Microsoft.AspNetCore.Http.HttpResults.Conflict Conflict();
static member Conflict : unit -> Microsoft.AspNetCore.Http.HttpResults.Conflict
Public Shared Function Conflict () As Conflict

Gibt zurück

Die für die Antwort erstellte Conflict .

Gilt für:

Conflict<TValue>(TValue)

Quelle:
TypedResults.cs

Erzeugt eine Status409Conflict Antwort.

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

Typparameter

TValue

Der Typ des Objekts, das im JSON-Format in den Antworttext serialisiert wird.

Parameter

error
TValue

Der Wert, der in den HTTP-Antworttext aufgenommen werden soll.

Gibt zurück

Die für die Antwort erstellte Conflict<TValue> .

Gilt für: