MessagePropertyDescription Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈