<section> Element (WSE for Microsoft .NET)
Adds the microsoft.web.services2 configuration section handler to the configuration file.
<section
name="microsoft.web.services2"
type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration,
Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" />
/>
Attributes and Elements
Attributes
Attribute | Description |
---|---|
name |
Must be |
Type |
Must be the strong assembly name |
Child Elements
None
Parent Elements
Element | Description |
---|---|
<section> |
Contains a configuration section declaration. |
Remarks
Whenever a configuration element is added to an application or Web configuration file with an element defined by WSE, a <section> element must be added to the machine configuration file. Elements defined by WSE are elements in the <microsoft.web.services2> Element configuration section.
The type attribute must be on one line.
Example
The following example shows how to add the microsoft.web.services2
configuration section handler.
<configuration>
<configSections>
<section name="microsoft.web.services2"
type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration, Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</configSections>
</configuration>