แก้ไข

แชร์ผ่าน


NetSectionGroup Class

Definition

Gets the section group information for the networking namespaces. This class cannot be inherited.

public ref class NetSectionGroup sealed : System::Configuration::ConfigurationSectionGroup
public sealed class NetSectionGroup : System.Configuration.ConfigurationSectionGroup
type NetSectionGroup = class
    inherit ConfigurationSectionGroup
Public NotInheritable Class NetSectionGroup
Inherits ConfigurationSectionGroup
Inheritance

Remarks

This class corresponds to the <system.Net> Element (Network Settings) configuration element described in the Network Settings Schema documentation.

This section group controls configuration settings for the following namespaces:

This class provides programmatic access to information that can be stored in configuration files.

Constructors

NetSectionGroup()

Initializes a new instance of the NetSectionGroup class.

Properties

AuthenticationModules

Gets the configuration section containing the authentication modules registered for the local computer.

ConnectionManagement

Gets the configuration section containing the connection management settings for the local computer.

DefaultProxy

Gets the configuration section containing the default Web proxy server settings for the local computer.

IsDeclarationRequired

Gets a value that indicates whether this ConfigurationSectionGroup object declaration is required.

(Inherited from ConfigurationSectionGroup)
IsDeclared

Gets a value that indicates whether this ConfigurationSectionGroup object is declared.

(Inherited from ConfigurationSectionGroup)
MailSettings

Gets the configuration section containing the SMTP client email settings for the local computer.

Name

Gets the name property of this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
RequestCaching

Gets the configuration section containing the cache configuration settings for the local computer.

SectionGroupName

Gets the section group name associated with this ConfigurationSectionGroup.

(Inherited from ConfigurationSectionGroup)
SectionGroups

Gets a ConfigurationSectionGroupCollection object that contains all the ConfigurationSectionGroup objects that are children of this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
Sections

Gets a ConfigurationSectionCollection object that contains all of ConfigurationSection objects within this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
Settings

Gets the configuration section containing the network settings for the local computer.

Type

Gets or sets the type for this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
WebRequestModules

Gets the configuration section containing the modules registered for use with the WebRequest class.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
ForceDeclaration()

Forces the declaration for this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
ForceDeclaration(Boolean)

Forces the declaration for this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSectionGroup(Configuration)

Gets the System.Net configuration section group from the specified configuration file.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeSectionGroupInTargetVersion(FrameworkName)

Indicates whether the current ConfigurationSectionGroup instance should be serialized when the configuration object hierarchy is serialized for the specified target version of the .NET Framework.

(Inherited from ConfigurationSectionGroup)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to