GlobalProxySelection Klas

Definitie

Let op

This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202

Let op

This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy. https://go.microsoft.com/fwlink/?linkid=14202

Bevat een globaal standaardproxy-exemplaar voor alle HTTP-aanvragen.

public ref class GlobalProxySelection
public class GlobalProxySelection
[System.Obsolete("This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202")]
public class GlobalProxySelection
[System.Obsolete("This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy. https://go.microsoft.com/fwlink/?linkid=14202")]
public class GlobalProxySelection
type GlobalProxySelection = class
[<System.Obsolete("This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy. http://go.microsoft.com/fwlink/?linkid=14202")>]
type GlobalProxySelection = class
[<System.Obsolete("This class has been deprecated. Please use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy. https://go.microsoft.com/fwlink/?linkid=14202")>]
type GlobalProxySelection = class
Public Class GlobalProxySelection
Overname
GlobalProxySelection
Kenmerken

Opmerkingen

De GlobalProxySelection proxy-instellingen worden opgeslagen voor de standaardproxy die WebRequest exemplaren gebruiken om contact op te maken met internetsites buiten het lokale netwerk. De standaardproxy-instelling wordt geïnitialiseerd vanuit het globale of toepassingsconfiguratiebestand en kan worden overschreven voor afzonderlijke aanvragen of uitgeschakeld door de HttpWebRequest.Proxy eigenschap in te stellen op het resultaat van de GetEmptyWebProxy methode.

De proxy-instellingen die zijn opgeslagen, GlobalProxySelection worden gebruikt door eventuele WebRequest afgeleide objecten die proxy's ondersteunen en waarop de Proxy eigenschapswaarde is ingesteld null (de standaardinstelling). Proxy's worden momenteel ondersteund door FtpWebRequest, HttpWebRequesten WebClient.

Opmerking Wijzigingen in de wijzigingen in de GlobalProxySelection aanvraag worden niet doorgevoerd in een WebRequest.

Constructors

Name Description
GlobalProxySelection()
Verouderd.
Verouderd.

Initialiseert een nieuw exemplaar van de GlobalProxySelection klasse.

Eigenschappen

Name Description
Select
Verouderd.
Verouderd.

Hiermee haalt u de globale HTTP-proxy op of stelt u deze in.

Methoden

Name Description
Equals(Object)
Verouderd.
Verouderd.

Bepaalt of het opgegeven object gelijk is aan het huidige object.

(Overgenomen van Object)
GetEmptyWebProxy()
Verouderd.
Verouderd.

Retourneert een leeg proxy-exemplaar.

GetHashCode()
Verouderd.
Verouderd.

Fungeert als de standaardhashfunctie.

(Overgenomen van Object)
GetType()
Verouderd.
Verouderd.

Hiermee haalt u de Type huidige instantie op.

(Overgenomen van Object)
MemberwiseClone()
Verouderd.
Verouderd.

Hiermee maakt u een ondiepe kopie van de huidige Object.

(Overgenomen van Object)
ToString()
Verouderd.
Verouderd.

Retourneert een tekenreeks die het huidige object vertegenwoordigt.

(Overgenomen van Object)

Van toepassing op

Zie ook