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