A base exception for some Amazon Web Services.
Most exceptions thrown to client code will be service-specific exceptions, though some services may throw this exception if there is a problem which is caught in the core client code.
Inheritance Hierarchy
Namespace: Amazon.Runtime
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class AmazonServiceException : Exception _Exception, ISerializable
The AmazonServiceException type exposes the following members
Properties
Name | Description | |
---|---|---|
![]() |
Data | |
![]() |
ErrorCode | The error code returned by the service |
![]() |
ErrorType |
Whether the error was attributable to |
![]() |
HelpLink | |
![]() |
HResult | |
![]() |
InnerException | |
![]() |
Message | |
![]() |
RequestId | The id of the request which generated the exception. |
![]() |
Source | |
![]() |
StackTrace | |
![]() |
StatusCode | The HTTP status code from the service response |
![]() |
TargetSite |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8