AWS SDK for .NET Documentation
AmazonEC2Exception Constructor (message, innerException)
AmazonAmazon.EC2AmazonEC2ExceptionAmazonEC2Exception(String, Exception) Did this page help you?   Yes   No    Tell us about it...
Constructs AmazonEC2Exception with message and wrapped exception
Declaration Syntax
C#
public AmazonEC2Exception(
	string message,
	Exception innerException
)
Parameters
message (String)
A message that describes the error
innerException (Exception)
The nested exception that caused the AmazonS3Exception

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