WebBodyFormatMessageProperty(WebContentFormat) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
以指定格式初始化類別的新實例 WebBodyFormatMessageProperty 。
public:
WebBodyFormatMessageProperty(System::ServiceModel::Channels::WebContentFormat format);
public WebBodyFormatMessageProperty(System.ServiceModel.Channels.WebContentFormat format);
new System.ServiceModel.Channels.WebBodyFormatMessageProperty : System.ServiceModel.Channels.WebContentFormat -> System.ServiceModel.Channels.WebBodyFormatMessageProperty
Public Sub New (format As WebContentFormat)
參數
- format
- WebContentFormat
訊息主體的部分 WebContentFormat 。
例外狀況
格式無法設定為 Default 建構子中的值。