语言

ContextMessageProperty.AddOrReplaceInMessageProperties 方法

定义

设置当前实例ContextMessageProperty中指定集合MessageProperties中属性的值ContextMessageProperty。

public:
 void AddOrReplaceInMessageProperties(System::ServiceModel::Channels::MessageProperties ^ properties);
public void AddOrReplaceInMessageProperties(System.ServiceModel.Channels.MessageProperties properties);
member this.AddOrReplaceInMessageProperties : System.ServiceModel.Channels.MessageProperties -> unit
Public Sub AddOrReplaceInMessageProperties (properties As MessageProperties)

参数

properties
MessageProperties

要设置其上下文消息属性的 MessageProperties 集合。

例外

properties 是 null。

适用于