다음을 통해 공유


GlobalProxySelection 클래스

정의

주의

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

주의

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

주의

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

모든 HTTP 요청에 대한 전역 기본 프록시 인스턴스를 포함합니다.

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
상속
GlobalProxySelection
특성

설명

인스턴스 GlobalProxySelection 가 로컬 네트워크 이외의 인터넷 사이트에 연락하는 데 사용하는 기본 프록시에 대한 프록시 WebRequest 설정을 저장합니다. 기본 프록시 설정은 전역 또는 애플리케이션 구성 파일에서 초기화되며 개별 요청에 대해 재정의되거나 메서드의 GetEmptyWebProxy 결과로 속성을 설정하여 사용하지 않도록 설정할 HttpWebRequest.Proxy 수 있습니다.

프록시에 저장된 GlobalProxySelection 프록시 설정은 프록시를 지원하고 속성 Proxy 값이 기본값으로 null 설정된 파생 WebRequest 개체에서 사용됩니다. 프록시는 현재 , HttpWebRequest및 .에서 지원FtpWebRequest됩니다WebClient.

참고 요청이 이루어진 후의 GlobalProxySelection 변경 내용은 에 반영되지 WebRequest않습니다.

생성자

Name Description
GlobalProxySelection()
사용되지 않음.
사용되지 않음.
사용되지 않음.

GlobalProxySelection 클래스의 새 인스턴스를 초기화합니다.

속성

Name Description
Select
사용되지 않음.
사용되지 않음.
사용되지 않음.

전역 HTTP 프록시를 가져오거나 설정합니다.

메서드

Name Description
Equals(Object)
사용되지 않음.
사용되지 않음.
사용되지 않음.

지정된 개체가 현재 개체와 같은지 여부를 확인합니다.

(다음에서 상속됨 Object)
GetEmptyWebProxy()
사용되지 않음.
사용되지 않음.
사용되지 않음.

빈 프록시 인스턴스를 반환합니다.

GetHashCode()
사용되지 않음.
사용되지 않음.
사용되지 않음.

기본 해시 함수로 사용됩니다.

(다음에서 상속됨 Object)
GetType()
사용되지 않음.
사용되지 않음.
사용되지 않음.

현재 인스턴스의 Type 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()
사용되지 않음.
사용되지 않음.
사용되지 않음.

현재 Object단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()
사용되지 않음.
사용되지 않음.
사용되지 않음.

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

적용 대상

추가 정보