1 write to message
System.ServiceModel (1)
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (1)
110
this.
message
= message;
22 references to message
System.ServiceModel (22)
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (22)
125
get { return this.
message
; }
141
Fx.Assert(this.
message
!= null, "");
172
if (this.
message
is SecurityVerifiedMessage)
174
SecurityVerifiedMessage verifiedMessage = this.
message
as SecurityVerifiedMessage;
181
this.
message
.ToString(dictionaryWriter);
185
if (this.
message
.Version.Envelope != EnvelopeVersion.None)
187
dictionaryWriter.WriteStartElement(XD.MessageDictionary.Prefix.Value, XD.MessageDictionary.Envelope, this.
message
.Version.Envelope.DictionaryNamespace);
189
this.
message
.WriteStartBody(writer);
192
this.
message
.BodyToString(dictionaryWriter);
194
if (this.
message
.Version.Envelope != EnvelopeVersion.None)
202
else if (this.
message
.Version.Envelope != EnvelopeVersion.None) //No headers for EnvelopeVersion.None
216
dictionaryWriter.WriteStartElement(XD.MessageDictionary.Prefix.Value, XD.MessageDictionary.Envelope, this.
message
.Version.Envelope.DictionaryNamespace);
236
dictionaryWriter.WriteStartElement(XD.MessageDictionary.Prefix.Value, XD.MessageDictionary.Header, this.
message
.Version.Envelope.DictionaryNamespace);
237
MessageHeaders headers = this.
message
.Headers;
240
if (this.
message
is SecurityVerifiedMessage)
242
SecurityVerifiedMessage verifiedMessage = this.
message
as SecurityVerifiedMessage;
269
Fx.Assert(this.
message
!= null, "");
271
if (this.
message
.Properties.TryGetValue(AddressingProperty.Name, out property))
293
message
.Properties.Remove(AddressingProperty.Name);
299
Fx.Assert(this.
message
!= null, "");
301
if (this.
message
.Properties.TryGetValue(HttpResponseMessageProperty.Name, out property))
326
if (this.
message
.Properties.TryGetValue(HttpRequestMessageProperty.Name, out property))