| MessageContractAttribute Class |
Namespace: System.ServiceModel
public sealed class MessageContractAttribute : Attribute
The MessageContractAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
| MessageContractAttribute |
Initializes a new instance of the System.ServiceModel.MessageContractAttribute
class.
|
| Name | Description | |
|---|---|---|
| Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
| GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| HasProtectionLevel |
Gets a value that indicates whether the message has a protection level.
| |
| IsWrapped |
Gets or sets a value that specifies whether the message body has a wrapper
element.
| |
| ProtectionLevel |
Gets or sets a value that specified whether the message must be encrypted,
signed, or both.
| |
| WrapperName |
Gets or sets the name of the wrapper element of the message body.
| |
| WrapperNamespace |
Gets or sets the namespace of the message body wrapper element.
|