WebContentTypeMapper WebContentTypeMapper WebContentTypeMapper WebContentTypeMapper Class

Definition

Specifies the format to which the content type of an incoming message is mapped.

public ref class WebContentTypeMapper abstract
public abstract class WebContentTypeMapper
type WebContentTypeMapper = class
Public MustInherit Class WebContentTypeMapper
Inheritance
WebContentTypeMapperWebContentTypeMapperWebContentTypeMapperWebContentTypeMapper

Remarks

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.

Constructors

WebContentTypeMapper() WebContentTypeMapper() WebContentTypeMapper() WebContentTypeMapper()

Initializes a new instance of the WebContentTypeMapper class.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetMessageFormatForContentType(String) GetMessageFormatForContentType(String) GetMessageFormatForContentType(String) GetMessageFormatForContentType(String)

When overridden in a derived class, returns the message format used for a specified content type.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to