ContextMessageProperty.AddOrReplaceInMessageProperties 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置当前实例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。