MessagePartSpecification Constructor (Boolean, XmlQualifiedName[])

 

Initializes a new MessagePartSpecification with an array of message headers.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public MessagePartSpecification(
	bool isBodyIncluded,
	params XmlQualifiedName[] headerTypes
)

Parameters

isBodyIncluded
Type: System.Boolean

Initializes whether the message body is included in the specification.

headerTypes
Type: System.Xml.XmlQualifiedName[]

The array of header types to use.

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.

.NET Framework
Available since 3.0
Return to top
Show: