共用方式為


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

指向對應程式的字串,該對應程式會指出傳入訊息內容型別的格式。

屬性

適用於