ContextMessageProperty.AddOrReplaceInMessageProperties Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.