<host>

Specifies settings for a service host.

Schema Hierarchy

<system.serviceModel>
  <services>
    <service>
      <host>
Syntax

<host>
      <baseAddresses>
         <baseAddress baseAddress="string" />
      </baseAddresses>
      <timeOuts closeTimeout="TimeSpan"
         openTimeout="TimeSpan" >
</host>

Type

Attributes and Elements

Attributes

None.

Child Elements

Element Description

<baseAddresses>

A collection of baseAddress elements that specifies the base addresses used by the service host.

<timeOuts>

A configuration element that specifies the interval of time allowed for the service host to open or close.

Parent Elements

Element Description

<service>

Specifies the settings for a Windows Communication Foundation (WCF) service.

See Also

Reference

HostElement
ServiceHost

Other Resources

Hosting

>
© 2007 Microsoft Corporation. All rights reserved.
Tags : typos


Community Content

Thomas Lee
Typo in the example
There is a typo in the example:
<baseAddresses>
<baseAddress baseAddress="string" />
should be
<baseAddresses>
<add baseAddress="string" />
Tags : contentbug

Page view tracker