Class RawFormatMapper
Forces System.ServiceModel.Channels.WebMessageEncodingBindingElement to use raw format for all incoming messages.
Inheritance
System.Object
RawFormatMapper
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class RawFormatMapper : WebContentTypeMapper
Constructors
RawFormatMapper()
Declaration
public RawFormatMapper()
Methods
GetMessageFormatForContentType(String)
Returns the message format used for a specified content type.
Declaration
public override WebContentFormat GetMessageFormatForContentType(string contentType)
Parameters
Type | Name | Description |
---|---|---|
System.String | contentType | The content type that indicates the MIME type of data to be interpreted. |
Returns
Type | Description |
---|---|
System.ServiceModel.Channels.WebContentFormat | The System.ServiceModel.Channels.WebContentFormat that specifies the format to which the message content type is mapped. |