WebHttpBindingElement.ContentTypeMapper 属性

定义

获取或设置传入消息内容类型映射到格式的方式。

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

属性值

String

一个指向映射器的字符串,该映射器指示传入消息的内容类型的格式。

属性

适用于