Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
<services>
<service>
<host>
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
<host>

Specifies settings for a service host.

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

Type

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.

Reference

HostElement
ServiceHost

Other Resources

Hosting


© 2007 Microsoft Corporation. All rights reserved.
Tags What's this?: typos (x) Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Typo in the example      Steve_M_B ... Thomas Lee   |   Edit   |   Show History
There is a typo in the example:
<baseAddresses>
<baseAddress baseAddress="string" />
should be
<baseAddresses>
<add baseAddress="string" />
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker