ServiceModelConfigurationSectionGroup Constructor (String, String)
[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 and type.
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 _
)
'Usage
Dim name As String
Dim type As String
Dim instance As New ServiceModelConfigurationSectionGroup(name, type)
public ServiceModelConfigurationSectionGroup(
string name,
string type
)
public:
ServiceModelConfigurationSectionGroup(
String^ name,
String^ type
)
public function ServiceModelConfigurationSectionGroup(
name : String,
type : String
)
new :
name:string *
type:string -> 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
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