Aracılığıyla paylaş


Results.Conflict Yöntem

Tanım

Aşırı Yüklemeler

Conflict(Object)

Bir Status409Conflict yanıt üretir.

Conflict<TValue>(TValue)

Bir Status409Conflict yanıt üretir.

Conflict(Object)

Kaynak:
Results.cs

Bir Status409Conflict yanıt üretir.

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

Parametreler

error
Object

HTTP yanıt gövdesine eklenecek bir hata nesnesi.

Döndürülenler

Yanıt için oluşturulan IResult .

Şunlara uygulanır

Conflict<TValue>(TValue)

Kaynak:
Results.cs

Bir Status409Conflict yanıt üretir.

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

Tür Parametreleri

TValue

Parametreler

error
TValue

HTTP yanıt gövdesine eklenecek bir hata nesnesi.

Döndürülenler

Yanıt için oluşturulan IResult .

Şunlara uygulanır