AWS SDK for .NET Documentation
StatusCode Property
AmazonAmazon.S3AmazonS3ExceptionStatusCode Did this page help you?   Yes   No    Tell us about it...
Gets status code returned by the service if available. If status code is set to -1, it means that status code was unavailable at the time exception was thrown
Declaration Syntax
C#
public HttpStatusCode StatusCode { get; }

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