AWS SDK for .NET Documentation
AmazonS3Exception Constructor (message, statusCode, requestAddr, responseHeaders, innerException)
AmazonAmazon.S3AmazonS3ExceptionAmazonS3Exception(String, HttpStatusCode, String, WebHeaderCollection, Exception) Did this page help you?   Yes   No    Tell us about it...
Initializes an AmazonS3Exception with error information provided in an AmazonS3 response and the inner exception that is the cause of the exception
Declaration Syntax
C#
public AmazonS3Exception(
	string message,
	HttpStatusCode statusCode,
	string requestAddr,
	WebHeaderCollection responseHeaders,
	Exception innerException
)
Parameters
message (String)
Overview of error
statusCode (HttpStatusCode)
HTTP status code for error response
requestAddr (String)
The S3 request url
responseHeaders (WebHeaderCollection)
The response headers containing S3 specific information The nested exception that caused the AmazonS3Exception
innerException (Exception)

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)