MessagePartSpecification Class

 

Specifies which parts are included in a message.

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

System.Object
  System.ServiceModel.Security.MessagePartSpecification

public class MessagePartSpecification

NameDescription
System_CAPS_pubmethodMessagePartSpecification()

Initializes an empty MessagePartSpecification.

System_CAPS_pubmethodMessagePartSpecification(Boolean)

Initializes a new MessagePartSpecification and specifies whether the message body is included.

System_CAPS_pubmethodMessagePartSpecification(Boolean, XmlQualifiedName[])

Initializes a new MessagePartSpecification with an array of message headers.

System_CAPS_pubmethodMessagePartSpecification(XmlQualifiedName[])

Initializes a new MessagePartSpecification with an array of message headers.

NameDescription
System_CAPS_pubpropertyHeaderTypes

Gets the header types for this specification.

System_CAPS_pubpropertyIsBodyIncluded

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

System_CAPS_pubpropertyIsReadOnly

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

System_CAPS_pubpropertySystem_CAPS_staticNoParts

Gets an empty instance of this class.

NameDescription
System_CAPS_pubmethodClear()

Clears the list of headers in this specification.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodMakeReadOnly()

Sets the specification to read only.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodUnion(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.

.NET Framework
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.

Return to top
Show: