AWS SDK for .NET Documentation
UnmarshallException Method (input, innerException, statusCode)
AmazonAmazon.Runtime.Internal.TransformIResponseUnmarshaller<(Of <(<'T, R>)>)>UnmarshallException(R, Exception, HttpStatusCode) Did this page help you?   Yes   No    Tell us about it...
Extracts an exeption with data from an ErrorResponse.
Declaration Syntax
C#
AmazonServiceException UnmarshallException(
	R input,
	Exception innerException,
	HttpStatusCode statusCode
)
Parameters
input (R)
The XML parsing context.
innerException (Exception)
An inner exception to be included with the returned exception
statusCode (HttpStatusCode)
The HttpStatusCode from the ErrorResponse
Return Value
Either an exception based on the ErrorCode from the ErrorResponse, or the general service exception for the service in question.

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