MessagePartSpecification Class

Definition

Specifies which parts are included in a message.

public ref class MessagePartSpecification
public class MessagePartSpecification
type MessagePartSpecification = class
Public Class MessagePartSpecification
Inheritance
MessagePartSpecification

Remarks

This specification is used to indicate which message parts need to be signed and which parts need to be encrypted.

Constructors

MessagePartSpecification()

Initializes an empty MessagePartSpecification.

MessagePartSpecification(Boolean, XmlQualifiedName[])

Initializes a new MessagePartSpecification with an array of message headers.

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.

Properties

HeaderTypes

Gets the header types for this specification.

IsBodyIncluded

Gets or sets a value that indicates whether the message body is included in this specification.

IsReadOnly

Gets a value that indicates whether the specification is read only.

NoParts

Gets an empty instance of this class.

Methods

Clear()

Clears the list of headers in this specification.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MakeReadOnly()

Sets the specification to read only.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
Union(MessagePartSpecification)

Merges two message part specifications.

Applies to