1 write to host
System.ServiceModel (1)
System\ServiceModel\ServiceConfiguration.cs (1)
25
this.
host
= host;
24 references to host
System.ServiceModel (24)
System\ServiceModel\ServiceConfiguration.cs (24)
35
return this.
host
.Description;
46
return this.
host
.Authentication;
57
return this.
host
.Authorization;
68
return this.
host
.Credentials;
79
return this.
host
.BaseAddresses;
90
return this.
host
.OpenTimeout;
95
this.
host
.OpenTimeout = value;
106
return this.
host
.CloseTimeout;
111
this.
host
.CloseTimeout = value;
156
if ((this.
host
.State != CommunicationState.Created) && (this.
host
.State != CommunicationState.Opening))
186
IContractResolver resolver = this.
host
.GetContractResolver(this.
host
.ImplementedContracts);
220
ContractDescription contract = this.
host
.ImplementedContracts == null
222
: this.
host
.ImplementedContracts.Values.FirstOrDefault(implementedContract => implementedContract.ContractType == contractType);
225
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("contractType", SR.GetString(SR.SFxMethodNotSupportedByType2, this.
host
.Description.ServiceType, contractType));
228
ServiceEndpoint endpoint = new ServiceEndpoint(contract, binding, new EndpointAddress(ServiceHost.MakeAbsoluteUri(address, binding, this.
host
.InternalBaseAddresses)));
277
this.
host
.SetEndpointAddress(endpoint, relativeAddress);
290
if (this.
host
.ImplementedContracts != null)
293
IEnumerable<ContractDescription> contracts = this.
host
.ImplementedContracts.Values;
299
foreach (var uri in this.
host
.BaseAddresses)
321
this.
host
.LoadFromConfiguration();
331
this.
host
.LoadFromConfiguration(configuration);
345
endpoint.ListenUri = ServiceHost.MakeAbsoluteUri(listenUri, binding, this.
host
.InternalBaseAddresses);