Szerkesztés

Megosztás a következőn keresztül:


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
WebContentTypeMapper

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()

Initializes a new instance of the WebContentTypeMapper class.

Methods

Equals(Object)

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

(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()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to