Share via


Results.NotFound Yöntem

Tanım

Aşırı Yüklemeler

NotFound(Object)

Yanıt oluşturur Status404NotFound .

NotFound<TValue>(TValue)

Yanıt oluşturur Status404NotFound .

NotFound(Object)

Yanıt oluşturur Status404NotFound .

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

Parametreler

value
Object

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

Döndürülenler

Yanıt için oluşturulan IResult .

Şunlara uygulanır

NotFound<TValue>(TValue)

Yanıt oluşturur Status404NotFound .

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

Tür Parametreleri

TValue

Parametreler

value
TValue

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

Döndürülenler

Yanıt için oluşturulan IResult .

Şunlara uygulanır