CloudException Class

 

Represents the exception that is thrown for responses that are not valid.

Namespace:   Microsoft.WindowsAzure
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)


public ref class CloudException : Exception

NameDescription
System_CAPS_pubmethodCloudException(String^)

Initializes a new instance of the CloudException class.

System_CAPS_pubmethodCloudException(String^, Exception^)

Initializes a new instance of the CloudException class.

NameDescription
System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyErrorCode

Gets the error code that is returned from the server.

System_CAPS_pubpropertyErrorMessage

Gets the error message that was returned from the server.

System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

(Inherited from Exception.)

System_CAPS_pubpropertyRequest

Gets information about the associated HTTP request.

System_CAPS_pubpropertyRequestId

Gets the request identifier.

System_CAPS_pubpropertyResponse

Gets information about the associated HTTP response.

System_CAPS_pubpropertyRoutingRequestId

Gets the routing request identifier.

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreate(HttpRequestMessage^, String^, HttpResponseMessage^, String^, CloudExceptionType, Exception^)

Obsolete.Create a CloudException from a failed response. This method is obsolete. Use Create without defaultTo parameter.

System_CAPS_pubmethodSystem_CAPS_staticCreate(HttpRequestMessage^, String^, HttpResponseMessage^, String^, Exception^)

Create a CloudException from a failed response.

System_CAPS_pubmethodSystem_CAPS_staticCreateFromJson(HttpRequestMessage^, String^, HttpResponseMessage^, String^, Exception^)

Obsolete.Creates a CloudException from a failed response using JSON.

System_CAPS_pubmethodSystem_CAPS_staticCreateFromXml(HttpRequestMessage^, String^, HttpResponseMessage^, String^, Exception^)

Obsolete.Creates a CloudException from a failed response that was sent using XML.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo^, StreamingContext)

(Inherited from Exception.)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticParseJsonError(String^)

Parse the response content as an JSON error message.

System_CAPS_pubmethodSystem_CAPS_staticParseXmlError(String^)

Parse the response content as an XML error message.

System_CAPS_pubmethodSystem_CAPS_staticParseXmlOrJsonError(String^)

Parse the response content as either an XML or JSON error message.

System_CAPS_pubmethodToString()

(Inherited from Exception.)

NameDescription
System_CAPS_proteventSerializeObjectState

(Inherited from Exception.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: