Aracılığıyla paylaş


GlobalProxySelection Sınıf

Tanım

Dikkat

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

Dikkat

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

Dikkat

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

Tüm HTTP istekleri için genel bir varsayılan proxy örneği içerir.

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
Devralma
GlobalProxySelection
Öznitelikler

Açıklamalar

, GlobalProxySelection örneklerin yerel ağın WebRequest dışındaki İnternet sitelerine başvurmak için kullandığı varsayılan ara sunucu için ara sunucu ayarlarını depolar. Varsayılan proxy ayarı genel veya uygulama yapılandırma dosyasından başlatılır ve tek tek istekler için geçersiz kılınabilir veya özelliği yöntemin HttpWebRequest.ProxyGetEmptyWebProxy sonucuna ayarlanarak devre dışı bırakılabilir.

içinde GlobalProxySelection depolanan proxy ayarları, proxy'leri destekleyen ve Proxy özellik değerleri (varsayılan) olarak ayarlanmış null türetilmiş nesneler tarafından WebRequest kullanılır. Proxy'ler şu anda , HttpWebRequestve WebClienttarafından FtpWebRequestdesteklenmektedir.

NotGlobalProxySelection İstek yapıldıktan sonra dosyasında yapılan değişiklikler bir WebRequestöğesine yansıtılmaz.

Oluşturucular

Name Description
GlobalProxySelection()
Geçersiz.
Geçersiz.
Geçersiz.

GlobalProxySelection sınıfının yeni bir örneğini başlatır.

Özellikler

Name Description
Select
Geçersiz.
Geçersiz.
Geçersiz.

Genel HTTP proxy'sini alır veya ayarlar.

Yöntemler

Name Description
Equals(Object)
Geçersiz.
Geçersiz.
Geçersiz.

Belirtilen nesnenin geçerli nesneye eşit olup olmadığını belirler.

(Devralındığı yer: Object)
GetEmptyWebProxy()
Geçersiz.
Geçersiz.
Geçersiz.

Boş bir proxy örneği döndürür.

GetHashCode()
Geçersiz.
Geçersiz.
Geçersiz.

Varsayılan karma işlevi işlevi görür.

(Devralındığı yer: Object)
GetType()
Geçersiz.
Geçersiz.
Geçersiz.

Geçerli örneğin Type alır.

(Devralındığı yer: Object)
MemberwiseClone()
Geçersiz.
Geçersiz.
Geçersiz.

Geçerli Objectbasit bir kopyasını oluşturur.

(Devralındığı yer: Object)
ToString()
Geçersiz.
Geçersiz.
Geçersiz.

Geçerli nesneyi temsil eden bir dize döndürür.

(Devralındığı yer: Object)

Şunlara uygulanır

Ayrıca bkz.