WebBodyFormatMessageProperty(WebContentFormat) 构造函数
定义
使用指定的格式初始化 WebBodyFormatMessageProperty 类的新实例。Initializes a new instance of the WebBodyFormatMessageProperty class with a specified format.
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。The WebContentFormat of the message body.