MessagePartSpecification Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new MessagePartSpecification.
Overloads
MessagePartSpecification() |
Initializes an empty MessagePartSpecification. |
MessagePartSpecification(Boolean) |
Initializes a new MessagePartSpecification and specifies whether the message body is included. |
MessagePartSpecification(XmlQualifiedName[]) |
Initializes a new MessagePartSpecification with an array of message headers. |
MessagePartSpecification(Boolean, XmlQualifiedName[]) |
Initializes a new MessagePartSpecification with an array of message headers. |
MessagePartSpecification()
- Source:
- MessagePartSpecification.cs
- Source:
- MessagePartSpecification.cs
Initializes an empty MessagePartSpecification.
public:
MessagePartSpecification();
public MessagePartSpecification ();
Public Sub New ()
Applies to
MessagePartSpecification(Boolean)
- Source:
- MessagePartSpecification.cs
- Source:
- MessagePartSpecification.cs
Initializes a new MessagePartSpecification and specifies whether the message body is included.
public:
MessagePartSpecification(bool isBodyIncluded);
public MessagePartSpecification (bool isBodyIncluded);
new System.ServiceModel.Security.MessagePartSpecification : bool -> System.ServiceModel.Security.MessagePartSpecification
Public Sub New (isBodyIncluded As Boolean)
Parameters
- isBodyIncluded
- Boolean
Initializes whether the message body is included in the specification.
Applies to
MessagePartSpecification(XmlQualifiedName[])
- Source:
- MessagePartSpecification.cs
- Source:
- MessagePartSpecification.cs
Initializes a new MessagePartSpecification with an array of message headers.
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())
Parameters
- headerTypes
- XmlQualifiedName[]
The array of header types to use.
Remarks
Each header is specified using its name and namespace.
Applies to
MessagePartSpecification(Boolean, XmlQualifiedName[])
- Source:
- MessagePartSpecification.cs
- Source:
- MessagePartSpecification.cs
Initializes a new MessagePartSpecification with an array of message headers.
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())
Parameters
- isBodyIncluded
- Boolean
Initializes whether the message body is included in the specification.
- headerTypes
- XmlQualifiedName[]
The array of header types to use.
Remarks
Each header is specified using its name and namespace. In addition, the isBodyIncluded
parameter specifies whether the message body is to be included or not.
Applies to
.NET