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ść ContextMessageProperty właściwości 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, której właściwość komunikatu kontekstowego MessageProperties ma zostać ustawiona.
Wyjątki
properties to null.