Message.Properties Message.Properties Message.Properties Message.Properties Property

定义

在派生类中重写时,获取消息的处理级别批注集。When overridden in a derived class, gets a set of processing-level annotations to the message.

public:
 abstract property System::ServiceModel::Channels::MessageProperties ^ Properties { System::ServiceModel::Channels::MessageProperties ^ get(); };
public abstract System.ServiceModel.Channels.MessageProperties Properties { get; }
member this.Properties : System.ServiceModel.Channels.MessageProperties
Public MustOverride ReadOnly Property Properties As MessageProperties

属性值

一个包含消息处理级别批注集的 MessagePropertiesA MessageProperties that contains a set of processing-level annotations to the message.

异常

注解

由于标头中的信息通过网络传输,检查标头的实体必须支持标头使用的协议的基础版本。Because information in headers is transmitted on the wire, an entity that examines a header must support the underlying version(s) of the protocols used by the header. 但是,属性提供一种与版本更加无关的方式来批注消息。However, properties provide a more version-independent way of annotating a message.

适用于