C# 클래스 Amazon.Runtime.ClientConfig

This class is the base class of all the configurations settings to connect to a service.
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
MaxTimeout System.TimeSpan

Private Properties

프로퍼티 타입 설명
GetDefaultRegionEndpoint RegionEndpoint
GetUrl string

공개 메소드들

메소드 설명
ClientConfig ( ) : System
DetermineServiceURL ( ) : string
GetTimeoutValue ( System.TimeSpan clientTimeout, System.TimeSpan requestTimeout ) : TimeSpan?

Returns the request timeout value if its value is set, else returns client timeout value.

GetWebProxy ( ) : IWebProxy

Returns a WebProxy instance configured to match the proxy settings in the client configuration.

GetWebProxy ( ) : WebProxy

Returns a WebProxy instance configured to match the proxy settings in the client configuration.

SetUseNagleIfAvailable ( bool useNagle ) : void

Enable or disable the Nagle algorithm on the underlying http client. This method is not intended to be called by consumers of the AWS SDK for .NET

SetWebProxy ( IWebProxy proxy ) : void

Unpacks the host, port and any credentials info into the instance's proxy-related fields. Unlike the SetWebProxy implementation on .NET 3.5/4.5,the Host and the Port are not reconstructed from the input proxyuri

SetWebProxy ( WebProxy proxy ) : void

Unpacks the host, port and any credentials info into the instance's proxy-related fields.

Validate ( ) : void

Performs validation on this config object. Throws exception if any of the required values are missing/invalid.

ValidateTimeout ( System.TimeSpan timeout ) : void

보호된 메소드들

메소드 설명
Initialize ( ) : void

비공개 메소드들

메소드 설명
GetDefaultRegionEndpoint ( ) : RegionEndpoint
GetUrl ( RegionEndpoint regionEndpoint, string regionEndpointServiceName, bool useHttp, bool useDualStack ) : string

메소드 상세

ClientConfig() 공개 메소드

public ClientConfig ( ) : System
리턴 System

DetermineServiceURL() 공개 메소드

public DetermineServiceURL ( ) : string
리턴 string

GetTimeoutValue() 공개 정적인 메소드

Returns the request timeout value if its value is set, else returns client timeout value.
public static GetTimeoutValue ( System.TimeSpan clientTimeout, System.TimeSpan requestTimeout ) : TimeSpan?
clientTimeout System.TimeSpan
requestTimeout System.TimeSpan
리턴 TimeSpan?

GetWebProxy() 공개 메소드

Returns a WebProxy instance configured to match the proxy settings in the client configuration.
public GetWebProxy ( ) : IWebProxy
리턴 IWebProxy

GetWebProxy() 공개 메소드

Returns a WebProxy instance configured to match the proxy settings in the client configuration.
public GetWebProxy ( ) : WebProxy
리턴 System.Net.WebProxy

Initialize() 보호된 메소드

protected Initialize ( ) : void
리턴 void

SetUseNagleIfAvailable() 공개 메소드

Enable or disable the Nagle algorithm on the underlying http client. This method is not intended to be called by consumers of the AWS SDK for .NET
public SetUseNagleIfAvailable ( bool useNagle ) : void
useNagle bool
리턴 void

SetWebProxy() 공개 메소드

Unpacks the host, port and any credentials info into the instance's proxy-related fields. Unlike the SetWebProxy implementation on .NET 3.5/4.5,the Host and the Port are not reconstructed from the input proxyuri
public SetWebProxy ( IWebProxy proxy ) : void
proxy IWebProxy The proxy details
리턴 void

SetWebProxy() 공개 메소드

Unpacks the host, port and any credentials info into the instance's proxy-related fields.
public SetWebProxy ( WebProxy proxy ) : void
proxy System.Net.WebProxy The proxy details
리턴 void

Validate() 공개 메소드

Performs validation on this config object. Throws exception if any of the required values are missing/invalid.
public Validate ( ) : void
리턴 void

ValidateTimeout() 공개 정적인 메소드

public static ValidateTimeout ( System.TimeSpan timeout ) : void
timeout System.TimeSpan
리턴 void

프로퍼티 상세

MaxTimeout 공개적으로 정적으로 프로퍼티

public static TimeSpan,System MaxTimeout
리턴 System.TimeSpan