C# Class Amazon.Util.AWSSDKUtils

This class defines utilities and constants that can be used by all the client libraries of the SDK.
Show file Open project: aws/aws-sdk-net Class Usage Examples

Private Properties

Property Type Description
GetConnectionLimit int
GetMaxIdleTime int

Public Methods

Method Description
ForceCanonicalPathAndQuery ( Uri uri ) : void
PreserveStackTrace ( Exception exception ) : void

This method is used preserve the stacktrace used from clients that support async calls. This make sure that exceptions thrown during EndXXX methods has the orignal stacktrace that happen in the background thread.

Sleep ( int ms ) : void

Private Methods

Method Description
GetConnectionLimit ( int clientConfigValue ) : int
GetMaxIdleTime ( int clientConfigValue ) : int

Method Details

ForceCanonicalPathAndQuery() public static method

public static ForceCanonicalPathAndQuery ( Uri uri ) : void
uri System.Uri
return void

PreserveStackTrace() public static method

This method is used preserve the stacktrace used from clients that support async calls. This make sure that exceptions thrown during EndXXX methods has the orignal stacktrace that happen in the background thread.
public static PreserveStackTrace ( Exception exception ) : void
exception System.Exception
return void

Sleep() public static method

public static Sleep ( int ms ) : void
ms int
return void