ContentHttpResult Klasa

Definicja

Element ContentHttpResult , który zostanie wykonany, spowoduje wygenerowanie odpowiedzi z zawartością.

public sealed class ContentHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult
type ContentHttpResult = class
    interface IResult
    interface IStatusCodeHttpResult
    interface IContentTypeHttpResult
Public NotInheritable Class ContentHttpResult
Implements IContentTypeHttpResult, IResult, IStatusCodeHttpResult
Dziedziczenie
ContentHttpResult
Implementuje

Właściwości

ContentType

Pobiera nagłówek Content-Type dla odpowiedzi.

ResponseContent

Pobiera zawartość reprezentującą treść odpowiedzi.

StatusCode

Pobiera kod stanu HTTP.

Metody

ExecuteAsync(HttpContext)

Zapisuje zawartość w odpowiedzi HTTP.

Dotyczy