WebHttpBindingElement.ContentTypeMapper Property

.NET Framework (current version)
 

Gets or sets how the content type of an incoming message is mapped to a format.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

[ConfigurationPropertyAttribute("contentTypeMapper", DefaultValue = "")]
[StringValidatorAttribute(MinLength = 0)]
public string ContentTypeMapper { get; set; }

Property Value

Type: System.String

A string that points to the mapper which indicates the format for the content type of the incoming message.

.NET Framework
Available since 4.0
Return to top
Show: