OperationContext.OutgoingMessageProperties 属性

定义

获取活动 OperationContext中出站消息的消息属性。

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

属性值

一个 MessageProperties 对象,其中包含出站消息上的消息属性。

注解

使用此属性可为来自服务操作的答复消息添加消息属性,或从客户端代理请求消息的消息属性。

适用于