1 write to message
System.ServiceModel (1)
System\ServiceModel\Diagnostics\MessageTraceRecord.cs (1)
21this.message = message;
18 references to message
System.ServiceModel (18)
System\ServiceModel\Diagnostics\MessageTraceRecord.cs (18)
31get { return this.message; } 36if ((this.message != null) && 37(this.message.State != MessageState.Closed) && 38(this.message.Headers != null)) 43if (message.Properties.Encoder != null) 45xml.WriteElementString("Encoder", message.Properties.Encoder.ToString()); 47xml.WriteElementString("AllowOutputBatching", message.Properties.AllowOutputBatching.ToString()); 48if (message.Properties.Security != null && message.Properties.Security.ServiceSecurityContext != null) 51xml.WriteElementString("IsAnonymous", message.Properties.Security.ServiceSecurityContext.IsAnonymous.ToString()); 52bool windowsIdentityUsed = message.Properties.Security.ServiceSecurityContext.WindowsIdentity != null && 53!string.IsNullOrEmpty(message.Properties.Security.ServiceSecurityContext.WindowsIdentity.Name); 58AuthorizationContext authContext = message.Properties.Security.ServiceSecurityContext.AuthorizationContext; 77if (message.Properties.Via != null) 79xml.WriteElementString("Via", message.Properties.Via.ToString()); 85for (int i = 0; i < this.message.Headers.Count; i++) 87this.message.Headers.WriteHeader(i, xml); 97SR.GetString(SR.TraceCodeDiagnosticsFailedMessageTrace), e, message);