AWS SDK for .NET Documentation
AmazonS3Exception Constructor (message, statusCode, errorCode, requestId, hostId, xml, requestAddr, responseHeaders)
AmazonAmazon.S3AmazonS3ExceptionAmazonS3Exception(String, HttpStatusCode, String, String, String, String, String, WebHeaderCollection) Did this page help you?   Yes   No    Tell us about it...
Initializes an AmazonS3Exception with error information provided in an AmazonS3 response.
Declaration Syntax
C#
public AmazonS3Exception(
	string message,
	HttpStatusCode statusCode,
	string errorCode,
	string requestId,
	string hostId,
	string xml,
	string requestAddr,
	WebHeaderCollection responseHeaders
)
Parameters
message (String)
Overview of error
statusCode (HttpStatusCode)
HTTP status code for error response
errorCode (String)
Error Code returned by the service
requestId (String)
Request ID returned by the service
hostId (String)
S3 Host ID returned by the service
xml (String)
Compete xml found in response
requestAddr (String)
The S3 request url
responseHeaders (WebHeaderCollection)
The response headers containing S3 specific information

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