System.Net.Configuration.BypassElementCollection Class

Represents a container for the addresses of resources that bypass the proxy server. This class cannot be inherited.

See Also: BypassElementCollection Members

Syntax

[System.Configuration.ConfigurationCollection(typeof(System.Net.Configuration.BypassElement), CollectionType=System.Configuration.ConfigurationElementCollectionType.AddRemoveClearMap)]
public sealed class BypassElementCollection : System.Configuration.ConfigurationElementCollection

Remarks

This collection holds instances of the add configuration element in the bypasslist configuration element. An add element specifies the address of a resource residing on a server. When an application requests a resource by using the System.Net.WebRequest or System.Net.WebClient classes, if the address of the resource is in the bypasslist, the request is sent directly to the server where the resource resides instead of being sent to the proxy server.

Requirements

Namespace: System.Net.Configuration
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0