WebHttpBindingElement.ContentTypeMapper 属性

定义

获取或设置传入消息内容类型映射到格式的方式。Gets or sets how the content type of an incoming message is mapped to a format.

public:
 property System::String ^ ContentTypeMapper { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("contentTypeMapper", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.StringValidator(MinLength=0)]
public string ContentTypeMapper { get; set; }
[<System.Configuration.ConfigurationProperty("contentTypeMapper", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.Configuration.StringValidator(MinLength=0)>]
member this.ContentTypeMapper : string with get, set
Public Property ContentTypeMapper As String

属性值

String

一个指向映射器的字符串,该映射器指示传入消息的内容类型的格式。A string that points to the mapper which indicates the format for the content type of the incoming message.

属性

适用于