AWS SDK for .NET Documentation
AmazonCloudFrontException Constructor (message, statusCode, errorCode, requestId, type, xml, requestAddr, responseHeaders, innerException)
Amazon ► Amazon.CloudFront_2012_03_15 ► AmazonCloudFrontException ► AmazonCloudFrontException(String, HttpStatusCode, String, String, String, String, String, WebHeaderCollection, Exception)
Did this page help you? Yes No Tell us about it...
Initializes an AmazonCloudFrontException with error information provided in an AmazonCloudFront response.
Declaration Syntax

C#

    public AmazonCloudFrontException(
    	string message,
    	HttpStatusCode statusCode,
    	string errorCode,
    	string requestId,
    	string type,
    	string xml,
    	string requestAddr,
    	WebHeaderCollection responseHeaders,
    	Exception innerException
    )

Parameters

message (String)
  Overview of error

statusCode (HttpStatusCode)
  HTTP status code for error response

errorCode (String)
  Error Code returned by the service

requestId (String)
  Request ID returned by the service

type (String)
  Error Type

xml (String)
  Compete xml found in response

requestAddr (String)
  The CloudFront request url

responseHeaders (WebHeaderCollection)
  The response headers containing CloudFront specific information

innerException (Exception)
  The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

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