ResponseTrailerExtensions.AppendTrailer Метод

Определение

Добавляет заданный заголовок трейлера в коллекцию trailers, отправляемую в конце текста ответа. Может возникнуть исключение Check SupportsTrailers(HttpResponse) или исключение InvalidOperationException.

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)

Параметры

response
HttpResponse
trailerName
String
trailerValues
StringValues

Применяется к