ServiceModelConfigurationSection 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 ServiceModelConfigurationSection 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 ServiceModelConfigurationSection(name, type)
public ServiceModelConfigurationSection(
string name,
string type
)
public:
ServiceModelConfigurationSection(
String^ name,
String^ type
)
public function ServiceModelConfigurationSection(
name : String,
type : String
)
new :
name:string *
type:string -> ServiceModelConfigurationSection
Parameters
- name
Type: System.String
The configuration name of the section. This value should be unique because it is used as identification for the section.
- type
Type: System.String
Specifies the type of the section 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
ServiceModelConfigurationSection Class
ServiceModelConfigurationSection Members