MessagePartSpecification Class
Specifies which parts are included in a message.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Name | Description | |
|---|---|---|
![]() | MessagePartSpecification() | Initializes an empty MessagePartSpecification. |
![]() | MessagePartSpecification(Boolean) | Initializes a new MessagePartSpecification and specifies whether the message body is included. |
![]() | MessagePartSpecification(Boolean, XmlQualifiedName[]) | Initializes a new MessagePartSpecification with an array of message headers. |
![]() | MessagePartSpecification(XmlQualifiedName[]) | Initializes a new MessagePartSpecification with an array of message headers. |
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | 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.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MakeReadOnly() | Sets the specification to read only. |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | Union(MessagePartSpecification) | Merges two message part specifications. |
This specification is used to indicate which message parts need to be signed and which parts need to be encrypted.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



