Partager via


<section> Element

Adds the microsoft.web.services3 configuration section handler to the configuration file.

<section
    name="microsoft.web.services3"
    type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration,
          Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral,
          PublicKeyToken=31bf3856ad364e35" />
/>

Attributes and Elements

Attributes

Attribute Description

name

Must be microsoft.web.services3.

type

Must be the strong assembly name Microsoft.Web.Services3.Configuration.WebServicesConfiguration,Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.

Child Elements

None

Parent Elements

Element Description

<configSections>

Contains the configuration section declarations.

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.services3> Element configuration section.

The type attribute must be on one line.

Example

The following example shows how to add the microsoft.web.services3 configuration section handler.

<configuration>
   <configSections>
      <section name="microsoft.web.services3"
         type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
   </configSections>
</configuration>

See Also

Reference

<microsoft.web.services3> Element