1 write to serviceElement
System.ServiceModel (1)
System\ServiceModel\Diagnostics\ServiceConfigurationTraceRecord.cs (1)
18
this.
serviceElement
= serviceElement;
12 references to serviceElement
System.ServiceModel (12)
System\ServiceModel\Diagnostics\ServiceConfigurationTraceRecord.cs (12)
25
xml.WriteElementString("FoundServiceElement", ((bool)(this.
serviceElement
!= null)).ToString(CultureInfo.InvariantCulture));
26
if (this.
serviceElement
!= null)
28
if (!string.IsNullOrEmpty(this.
serviceElement
.ElementInformation.Source))
30
xml.WriteElementString("ConfigurationFileSource", this.
serviceElement
.ElementInformation.Source);
31
xml.WriteElementString("ConfigurationFileLineNumber", this.
serviceElement
.ElementInformation.LineNumber.ToString(CultureInfo.InvariantCulture));
34
this.WriteElementString("ServiceName", this.
serviceElement
.Name, xml);
35
this.WriteElementString("BehaviorConfiguration", this.
serviceElement
.BehaviorConfiguration, xml);
38
xml.WriteElementString("OpenTimeout", this.
serviceElement
.Host.Timeouts.OpenTimeout.ToString());
39
xml.WriteElementString("CloseTimeout", this.
serviceElement
.Host.Timeouts.CloseTimeout.ToString());
41
if (this.
serviceElement
.Host.BaseAddresses.Count > 0)
44
foreach (BaseAddressElement baseAddress in this.
serviceElement
.Host.BaseAddresses)
52
foreach (ServiceEndpointElement serviceEndpoint in this.
serviceElement
.Endpoints)