Aracılığıyla paylaş


TypedResults.Conflict Yöntem

Tanım

Aşırı Yüklemeler

Conflict()

Bir Status409Conflict yanıt üretir.

Conflict<TValue>(TValue)

Bir Status409Conflict yanıt üretir.

Conflict()

Kaynak:
TypedResults.cs

Bir Status409Conflict yanıt üretir.

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

Döndürülenler

Yanıt için oluşturulan Conflict .

Şunlara uygulanır

Conflict<TValue>(TValue)

Kaynak:
TypedResults.cs

Bir Status409Conflict yanıt üretir.

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)

Tür Parametreleri

TValue

JSON yanıt gövdesine seri hale getirilecek nesnenin türü.

Parametreler

error
TValue

HTTP yanıt gövdesine eklenecek değer.

Döndürülenler

Yanıt için oluşturulan Conflict<TValue> .

Şunlara uygulanır