Class ApiErrorException
Exception thrown for an invalid response with ApiError information.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.DataMigration.dll
Syntax
public class ApiErrorException : Microsoft.Rest.RestException
Constructors
ApiErrorException()
Initializes a new instance of the ApiErrorException class.
Declaration
public ApiErrorException ();
ApiErrorException(String)
Initializes a new instance of the ApiErrorException class.
Declaration
public ApiErrorException (string message);
Parameters
|
String
message
The exception message. |
ApiErrorException(String, Exception)
Initializes a new instance of the ApiErrorException class.
Declaration
public ApiErrorException (string message, Exception innerException);
Parameters
|
String
message
The exception message. |
|
Exception
innerException
Inner exception. |
Properties
Body
Gets or sets the body object.
Declaration
public Microsoft.Azure.Management.DataMigration.Models.ApiError Body { get; set; }
Property Value
|
ApiError
|
Request
Gets information about the associated HTTP request.
Declaration
public Microsoft.Rest.HttpRequestMessageWrapper Request { get; set; }
Property Value
|
HttpRequestMessageWrapper
|
Response
Gets information about the associated HTTP response.
Declaration
public Microsoft.Rest.HttpResponseMessageWrapper Response { get; set; }
Property Value
|
HttpResponseMessageWrapper
|