AWS SDK for .NET Documentation
AmazonEC2Exception Constructor (message, statusCode, errorCode, errorType, requestId, xml)
AmazonAmazon.EC2AmazonEC2ExceptionAmazonEC2Exception(String, HttpStatusCode, String, String, String, String) Did this page help you?   Yes   No    Tell us about it...
Initializes an AmazonEC2Exception with error information provided in an AmazonEC2 response.
Declaration Syntax
C#
public AmazonEC2Exception(
	string message,
	HttpStatusCode statusCode,
	string errorCode,
	string errorType,
	string requestId,
	string xml
)
Parameters
message (String)
A message that describes the error
statusCode (HttpStatusCode)
HTTP status code for error response
errorCode (String)
Error Code returned by the service
errorType (String)
Error type. Possible types: Sender, Receiver or Unknown
requestId (String)
Request ID returned by the service
xml (String)
Compete xml found in response

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