DefaultContentNegotiator.SelectResponseMediaTypeFormatter Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Seleccione la mejor coincidencia entre las coincidencias candidatas encontradas.
protected:
virtual System::Net::Http::Formatting::MediaTypeFormatterMatch ^ SelectResponseMediaTypeFormatter(System::Collections::Generic::ICollection<System::Net::Http::Formatting::MediaTypeFormatterMatch ^> ^ matches);
protected virtual System.Net.Http.Formatting.MediaTypeFormatterMatch SelectResponseMediaTypeFormatter (System.Collections.Generic.ICollection<System.Net.Http.Formatting.MediaTypeFormatterMatch> matches);
abstract member SelectResponseMediaTypeFormatter : System.Collections.Generic.ICollection<System.Net.Http.Formatting.MediaTypeFormatterMatch> -> System.Net.Http.Formatting.MediaTypeFormatterMatch
override this.SelectResponseMediaTypeFormatter : System.Collections.Generic.ICollection<System.Net.Http.Formatting.MediaTypeFormatterMatch> -> System.Net.Http.Formatting.MediaTypeFormatterMatch
Protected Overridable Function SelectResponseMediaTypeFormatter (matches As ICollection(Of MediaTypeFormatterMatch)) As MediaTypeFormatterMatch
Parámetros
- matches
- ICollection<MediaTypeFormatterMatch>
Colección de coincidencias.
Devoluciones
MediaTypeFormatterMatchQue se ha determinado que es la mejor coincidencia.