Returns a value that indicates whether a specified message-level content-type value is supported by the message encoder.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
This method is used to determine whether the message encoder can be used to read a particular style of message, based on its content-type. The information in the ContentType class is used to describe the data that is contained in a message and is used to determine if there is a content-type match.
A grammar that details the syntax of the content-type header is described in RFC 2045 Section 5.1. RFC 2046 provides detailed information about Multipurpose Internet Mail Extensions (MIME) media types and their parameters.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.