Partager via


ServiceModelConfigurationSectionGroup Constructor (String, String, array<ServiceModelConfigurationSectionGroup[])

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the ServiceModelConfigurationSectionGroup class with the specified name, type and configuration section groups.

Namespace:  System.ServiceModel.Install.Configuration
Assembly:  System.ServiceModel.Install (in System.ServiceModel.Install.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    type As String, _
    sectionGroups As ServiceModelConfigurationSectionGroup() _
)
'Usage
Dim name As String
Dim type As String
Dim sectionGroups As ServiceModelConfigurationSectionGroup()

Dim instance As New ServiceModelConfigurationSectionGroup(name, type, _
    sectionGroups)
public ServiceModelConfigurationSectionGroup(
    string name,
    string type,
    ServiceModelConfigurationSectionGroup[] sectionGroups
)
public:
ServiceModelConfigurationSectionGroup(
    String^ name, 
    String^ type, 
    array<ServiceModelConfigurationSectionGroup^>^ sectionGroups
)
public function ServiceModelConfigurationSectionGroup(
    name : String, 
    type : String, 
    sectionGroups : ServiceModelConfigurationSectionGroup[]
)
new : 
        name:string * 
        type:string * 
        sectionGroups:ServiceModelConfigurationSectionGroup[] -> ServiceModelConfigurationSectionGroup

Parameters

  • name
    Type: System.String
    The configuration name of the section group. This value should be unique because it is used as identification for the section group.
  • type
    Type: System.String
    Specifies the type of the section group to be instantiated. This setting must equate to a valid type. The format should be Namespace.Class, AssemblyName, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4, 3.5, 3.0

See Also

Reference

ServiceModelConfigurationSectionGroup Class

ServiceModelConfigurationSectionGroup Members

ServiceModelConfigurationSectionGroup Overload

System.ServiceModel.Install.Configuration Namespace