ContextMessageProperty.AddOrReplaceInMessageProperties Metod

Definition

Anger värdet för ContextMessageProperty egenskapen i en angiven samling från MessageProperties den aktuella instansen av 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)

Parametrar

properties
MessageProperties

Samlingen vars MessageProperties egenskap för kontextmeddelande ska anges.

Undantag

properties är null.

Gäller för