Freigeben über


GlobalProxySelection Klasse

Definition

Achtung

GlobalProxySelection has been deprecated. Use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy.

Achtung

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

Achtung

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

Enthält eine globale Standardproxyinstanz für alle HTTP-Anforderungen.

public ref class GlobalProxySelection
[System.Obsolete("GlobalProxySelection has been deprecated. Use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy.")]
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
[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
public class GlobalProxySelection
[<System.Obsolete("GlobalProxySelection has been deprecated. Use WebRequest.DefaultWebProxy instead to access and set the global default proxy. Use 'null' instead of GetEmptyWebProxy.")>]
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
[<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
type GlobalProxySelection = class
Public Class GlobalProxySelection
Vererbung
GlobalProxySelection
Attribute

Hinweise

Die GlobalProxySelection Proxyeinstellungen für den Standardproxy, der von Instanzen verwendet wird, WebRequest um Internetsites über das lokale Netzwerk hinaus zu kontaktieren, werden gespeichert. Die Standardproxyeinstellung wird aus der globalen oder Anwendungskonfigurationsdatei initialisiert und kann für einzelne Anforderungen oder deaktiviert werden, indem die HttpWebRequest.Proxy Eigenschaft auf das Ergebnis der GetEmptyWebProxy Methode festgelegt wird.

Die gespeicherten GlobalProxySelection Proxyeinstellungen werden von allen WebRequest abgeleiteten Objekten verwendet, die Proxys unterstützen und deren Proxy Eigenschaftswert auf null (Standard) festgelegt ist. Proxys werden derzeit von FtpWebRequest, HttpWebRequestund WebClient.

Hinweis Änderungen an der Anforderung nach dem GlobalProxySelection Senden einer Anforderung werden nicht in einem WebRequest.

Konstruktoren

Name Beschreibung
GlobalProxySelection()
Veraltet.
Veraltet.
Veraltet.

Initialisiert eine neue Instanz der GlobalProxySelection-Klasse.

Eigenschaften

Name Beschreibung
Select
Veraltet.
Veraltet.
Veraltet.

Dient zum Abrufen oder Festlegen des globalen HTTP-Proxys.

Methoden

Name Beschreibung
Equals(Object)
Veraltet.
Veraltet.
Veraltet.

Bestimmt, ob das angegebene Objekt dem aktuellen Objekt entspricht.

(Geerbt von Object)
GetEmptyWebProxy()
Veraltet.
Veraltet.
Veraltet.

Gibt eine leere Proxyinstanz zurück.

GetHashCode()
Veraltet.
Veraltet.
Veraltet.

Dient als Standardhashfunktion.

(Geerbt von Object)
GetType()
Veraltet.
Veraltet.
Veraltet.

Ruft die Type der aktuellen Instanz ab.

(Geerbt von Object)
MemberwiseClone()
Veraltet.
Veraltet.
Veraltet.

Erstellt eine flache Kopie der aktuellen Object.

(Geerbt von Object)
ToString()
Veraltet.
Veraltet.
Veraltet.

Gibt eine Zeichenfolge zurück, die das aktuelle Objekt darstellt.

(Geerbt von Object)

Gilt für:

Weitere Informationen