Initializes a new AmazonEC2Exception with a specified error message
and HTTP status code
Declaration Syntax
C# |
public AmazonEC2Exception( string message, HttpStatusCode statusCode )
Parameters
- message (String)
- A message that describes the error
- statusCode (HttpStatusCode)
- HTTP status code for error response