AWS SDK for .NET Documentation
AmazonEC2Exception Constructor (message, statusCode, innerException)
Amazon ► Amazon.EC2 ► AmazonEC2Exception ► AmazonEC2Exception(String, HttpStatusCode, Exception)
Did this page help you? Yes No Tell us about it...
Initializes a new AmazonEC2Exception with a specified error message and HTTP status code
Declaration Syntax

C#

    public AmazonEC2Exception(
    	string message,
    	HttpStatusCode statusCode,
    	Exception innerException
    )

Parameters

message (String)
  A message that describes the error

statusCode (HttpStatusCode)
  HTTP status code for error response

innerException (Exception)
  The nested exception that caused the AmazonS3Exception

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