Редагувати

Поділитися через


MessagePropertyDescription Class

Definition

Represents a message property specified by the MessagePropertyAttribute.

public ref class MessagePropertyDescription : System::ServiceModel::Description::MessagePartDescription
public class MessagePropertyDescription : System.ServiceModel.Description.MessagePartDescription
type MessagePropertyDescription = class
    inherit MessagePartDescription
Public Class MessagePropertyDescription
Inherits MessagePartDescription
Inheritance
MessagePropertyDescription

Remarks

The MessagePropertyDescription class represents message properties specified in a message contract by the use of the System.ServiceModel.MessagePropertyAttribute. Message properties are used to place information on the message that can be used by other objects further on in the message pipeline but that are not serialized with the message.

Constructors

MessagePropertyDescription(String)

Initializes a new instance of the MessagePropertyDescription class.

Properties

HasProtectionLevel

Gets a value that indicates whether the message part has a value for the ProtectionLevel property.

(Inherited from MessagePartDescription)
Index

Gets or sets the index of the message part.

(Inherited from MessagePartDescription)
MemberInfo

Gets or sets the member information for the message part.

(Inherited from MessagePartDescription)
Multiple

Gets or sets a value that controls whether the message part can occur more than once in the message.

(Inherited from MessagePartDescription)
Name

Gets or sets the name of the message part.

(Inherited from MessagePartDescription)
Namespace

Gets or sets the namespace of the message part.

(Inherited from MessagePartDescription)
ProtectionLevel

Gets or sets the ProtectionLevel of the message part.

(Inherited from MessagePartDescription)
Type

Gets or sets the type of the message part.

(Inherited from MessagePartDescription)

Methods

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)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to