ContextMessageProperty.AddOrReplaceInMessageProperties Method

Definition

Sets the value of the ContextMessageProperty property in a specified collection of MessageProperties from the current instance of 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)

Parameters

properties
MessageProperties

The collection of MessageProperties whose context message property is to be set.

Exceptions

properties is null.

Applies to