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