ContextMessageProperty.AddOrReplaceInMessageProperties Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Ustawia wartość właściwości ContextMessageProperty w określonej kolekcji MessageProperties z bieżącego wystąpienia klasy 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)
Parametry
- properties
- MessageProperties
Kolekcja, MessageProperties której właściwość komunikatu kontekstowego ma zostać ustawiona.
Wyjątki
properties to null.