WebHttpEndpointElement.ContentTypeMapper Property

.NET Framework (current version)

Gets or sets the type of MIME content of the data sent by a web service operations.

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 contains the name of a MIME content.

.NET Framework
Available since 4.0
Return to top