C# Class System.Net.ServicePointManager

显示文件 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
FindServicePoint ( Uri address ) : ServicePoint
FindServicePoint ( Uri address, IWebProxy proxy ) : ServicePoint
FindServicePoint ( string uriString, IWebProxy proxy ) : ServicePoint
FindServicePoint ( System address ) : System.Net.ServicePoint
FindServicePoint ( System address, System proxy ) : System.Net.ServicePoint
FindServicePoint ( string uriString, System proxy ) : System.Net.ServicePoint
SetTcpKeepAlive ( bool enabled, int keepAliveTime, int keepAliveInterval ) : void

Private Methods

Method Description
MakeQueryString ( Uri address ) : string
MakeQueryString ( Uri address, bool isProxy ) : string
ProxyAddressIfNecessary ( Uri &address, IWebProxy proxy ) : bool
ServicePointManager ( )
ServicePointManager ( ) : System.Collections.Concurrent
ValidateSecurityProtocol ( SecurityProtocolType value ) : void

Method Details

FindServicePoint() public static method

public static FindServicePoint ( Uri address ) : ServicePoint
address System.Uri
return ServicePoint

FindServicePoint() public static method

public static FindServicePoint ( Uri address, IWebProxy proxy ) : ServicePoint
address System.Uri
proxy IWebProxy
return ServicePoint

FindServicePoint() public static method

public static FindServicePoint ( string uriString, IWebProxy proxy ) : ServicePoint
uriString string
proxy IWebProxy
return ServicePoint

FindServicePoint() public static method

public static FindServicePoint ( System address ) : System.Net.ServicePoint
address System
return System.Net.ServicePoint

FindServicePoint() public static method

public static FindServicePoint ( System address, System proxy ) : System.Net.ServicePoint
address System
proxy System
return System.Net.ServicePoint

FindServicePoint() public static method

public static FindServicePoint ( string uriString, System proxy ) : System.Net.ServicePoint
uriString string
proxy System
return System.Net.ServicePoint

SetTcpKeepAlive() public static method

public static SetTcpKeepAlive ( bool enabled, int keepAliveTime, int keepAliveInterval ) : void
enabled bool
keepAliveTime int
keepAliveInterval int
return void