MessagePartSpecification 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化新的 MessagePartSpecification。
重载
MessagePartSpecification()
- Source:
- MessagePartSpecification.cs
- Source:
- MessagePartSpecification.cs
- Source:
- MessagePartSpecification.cs
初始化空的 MessagePartSpecification。
public:
MessagePartSpecification();
public MessagePartSpecification ();
Public Sub New ()
适用于
MessagePartSpecification(Boolean)
- Source:
- MessagePartSpecification.cs
- Source:
- MessagePartSpecification.cs
- Source:
- MessagePartSpecification.cs
初始化新的 MessagePartSpecification 并指定是否包含消息正文。
public:
MessagePartSpecification(bool isBodyIncluded);
public MessagePartSpecification (bool isBodyIncluded);
new System.ServiceModel.Security.MessagePartSpecification : bool -> System.ServiceModel.Security.MessagePartSpecification
Public Sub New (isBodyIncluded As Boolean)
参数
- isBodyIncluded
- Boolean
初始化规范中是否包含消息正文。
适用于
MessagePartSpecification(XmlQualifiedName[])
- Source:
- MessagePartSpecification.cs
- Source:
- MessagePartSpecification.cs
- Source:
- MessagePartSpecification.cs
使用消息头数组初始化新的 MessagePartSpecification。
public:
MessagePartSpecification(... cli::array <System::Xml::XmlQualifiedName ^> ^ headerTypes);
public MessagePartSpecification (params System.Xml.XmlQualifiedName[] headerTypes);
new System.ServiceModel.Security.MessagePartSpecification : System.Xml.XmlQualifiedName[] -> System.ServiceModel.Security.MessagePartSpecification
Public Sub New (ParamArray headerTypes As XmlQualifiedName())
参数
- headerTypes
- XmlQualifiedName[]
要使用的标头类型数组。
注解
每个标头用它的名称和命令空间来指定。
适用于
MessagePartSpecification(Boolean, XmlQualifiedName[])
- Source:
- MessagePartSpecification.cs
- Source:
- MessagePartSpecification.cs
- Source:
- MessagePartSpecification.cs
使用消息头数组初始化新的 MessagePartSpecification。
public:
MessagePartSpecification(bool isBodyIncluded, ... cli::array <System::Xml::XmlQualifiedName ^> ^ headerTypes);
public MessagePartSpecification (bool isBodyIncluded, params System.Xml.XmlQualifiedName[] headerTypes);
new System.ServiceModel.Security.MessagePartSpecification : bool * System.Xml.XmlQualifiedName[] -> System.ServiceModel.Security.MessagePartSpecification
Public Sub New (isBodyIncluded As Boolean, ParamArray headerTypes As XmlQualifiedName())
参数
- isBodyIncluded
- Boolean
初始化规范中是否包含消息正文。
- headerTypes
- XmlQualifiedName[]
要使用的标头类型数组。
注解
每个标头用它的名称和命令空间来指定。 此外,isBodyIncluded
参数指定是否要包含消息正文。