IContentNegotiator.Negotiate 方法

定义

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

参数

type
Type
formatters
IEnumerable<System.Net.Http.Formatting.MediaTypeFormatter>

返回

适用于