This documentation is archived and is not being maintained.

MessageContractAttribute Properties

The MessageContractAttribute type exposes the following members.

Public property HasProtectionLevel Gets a value that indicates whether the message has a protection level.
Public property IsWrapped Gets or sets a value that specifies whether the message body has a wrapper element.
Public property ProtectionLevel Gets or sets a value that specified whether the message must be encrypted, signed, or both.
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
Public property WrapperName Gets or sets the name of the wrapper element of the message body.
Public property WrapperNamespace Gets or sets the namespace of the message body wrapper element.