WebMessageEncodingElement.WebContentTypeMapperType Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the type name of a WebContentTypeMapper that specifies the format to which the content type of an incoming message is mapped.

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

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

Property Value

Type: System.String

The type name of a WebContentTypeMapper.

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.

.NET Framework
Available since 3.5
Return to top