Partilhar via


ResponseTrailerExtensions.AppendTrailer Método

Definição

Adiciona o cabeçalho de trailer especificado à coleção de trailers a ser enviada no final do corpo da resposta. Verifique SupportsTrailers(HttpResponse) ou uma InvalidOperationException pode ser gerada.

public:
[System::Runtime::CompilerServices::Extension]
 static void AppendTrailer(Microsoft::AspNetCore::Http::HttpResponse ^ response, System::String ^ trailerName, Microsoft::Extensions::Primitives::StringValues trailerValues);
public static void AppendTrailer (this Microsoft.AspNetCore.Http.HttpResponse response, string trailerName, Microsoft.Extensions.Primitives.StringValues trailerValues);
static member AppendTrailer : Microsoft.AspNetCore.Http.HttpResponse * string * Microsoft.Extensions.Primitives.StringValues -> unit
<Extension()>
Public Sub AppendTrailer (response As HttpResponse, trailerName As String, trailerValues As StringValues)

Parâmetros

response
HttpResponse
trailerName
String
trailerValues
StringValues

Aplica-se a