DefaultContentNegotiator.UpdateBestMatch 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
protected virtual System.Net.Http.Formatting.MediaTypeFormatterMatch UpdateBestMatch (System.Net.Http.Formatting.MediaTypeFormatterMatch current, System.Net.Http.Formatting.MediaTypeFormatterMatch potentialReplacement);
abstract member UpdateBestMatch : System.Net.Http.Formatting.MediaTypeFormatterMatch * System.Net.Http.Formatting.MediaTypeFormatterMatch -> System.Net.Http.Formatting.MediaTypeFormatterMatch
override this.UpdateBestMatch : System.Net.Http.Formatting.MediaTypeFormatterMatch * System.Net.Http.Formatting.MediaTypeFormatterMatch -> System.Net.Http.Formatting.MediaTypeFormatterMatch
Protected Overridable Function UpdateBestMatch (current As MediaTypeFormatterMatch, potentialReplacement As MediaTypeFormatterMatch) As MediaTypeFormatterMatch
参数
- current
- MediaTypeFormatterMatch
- potentialReplacement
- MediaTypeFormatterMatch