DefaultContentNegotiator.Negotiate Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
public virtual 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
override this.Negotiate : Type * System.Net.Http.HttpRequestMessage * seq<System.Net.Http.Formatting.MediaTypeFormatter> -> System.Net.Http.Formatting.ContentNegotiationResult
Public Overridable Function Negotiate (type As Type, request As HttpRequestMessage, formatters As IEnumerable(Of MediaTypeFormatter)) As ContentNegotiationResult
Paramètres
- type
- Type
- request
- HttpRequestMessage
- formatters
- IEnumerable<System.Net.Http.Formatting.MediaTypeFormatter>