WebContentTypeMapper Class
Specifies the format to which the content type of an incoming message is mapped.
Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)
| Name | Description | |
|---|---|---|
![]() | WebContentTypeMapper() | Initializes a new instance of the WebContentTypeMapper class. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetMessageFormatForContentType(String) | When overridden in a derived class, returns the message format used for a specified content type. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
This is an extensibility point in the programming model that is used by the Web message encoder to override how content types are mapped to formats. To implement this class, override the GetMessageFormatForContentType(String) method.
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

