IContentNegotiator.Negotiate Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
public System.Net.Http.Formatting.ContentNegotiationResult Negotiate (Type type, System.Net.Http.HttpRequestMessage request, System.Collections.Generic.IEnumerable<System.Net.Http.Formatting.MediaTypeFormatter> formatters);
abstract member Negotiate : Type * System.Net.Http.HttpRequestMessage * seq<System.Net.Http.Formatting.MediaTypeFormatter> -> System.Net.Http.Formatting.ContentNegotiationResult
Public Function Negotiate (type As Type, request As HttpRequestMessage, formatters As IEnumerable(Of MediaTypeFormatter)) As ContentNegotiationResult
Parametry
- type
- Type
- request
- HttpRequestMessage
- formatters
- IEnumerable<System.Net.Http.Formatting.MediaTypeFormatter>