< Summary

Class:Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.ErrorResponseException
Assembly:Microsoft.Azure.CognitiveServices.Search.BingVisualSearch
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingVisualSearch\src\Generated\Models\ErrorResponseException.cs
Covered lines:0
Uncovered lines:9
Coverable lines:9
Total lines:58
Line coverage:0% (0 of 9)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_Request()-0%100%
get_Response()-0%100%
get_Body()-0%100%
.ctor()-0%100%
.ctor(...)-0%100%
.ctor(...)-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingVisualSearch\src\Generated\Models\ErrorResponseException.cs

#LineLine coverage
 1// <auto-generated>
 2// Code generated by Microsoft (R) AutoRest Code Generator.
 3// Changes may cause incorrect behavior and will be lost if the code is
 4// regenerated.
 5// </auto-generated>
 6
 7namespace Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models
 8{
 9    using Microsoft.Rest;
 10
 11    /// <summary>
 12    /// Exception thrown for an invalid response with ErrorResponse
 13    /// information.
 14    /// </summary>
 15    public partial class ErrorResponseException : RestException
 16    {
 17        /// <summary>
 18        /// Gets information about the associated HTTP request.
 19        /// </summary>
 020        public HttpRequestMessageWrapper Request { get; set; }
 21
 22        /// <summary>
 23        /// Gets information about the associated HTTP response.
 24        /// </summary>
 025        public HttpResponseMessageWrapper Response { get; set; }
 26
 27        /// <summary>
 28        /// Gets or sets the body object.
 29        /// </summary>
 030        public ErrorResponse Body { get; set; }
 31
 32        /// <summary>
 33        /// Initializes a new instance of the ErrorResponseException class.
 34        /// </summary>
 035        public ErrorResponseException()
 36        {
 037        }
 38
 39        /// <summary>
 40        /// Initializes a new instance of the ErrorResponseException class.
 41        /// </summary>
 42        /// <param name="message">The exception message.</param>
 43        public ErrorResponseException(string message)
 044            : this(message, null)
 45        {
 046        }
 47
 48        /// <summary>
 49        /// Initializes a new instance of the ErrorResponseException class.
 50        /// </summary>
 51        /// <param name="message">The exception message.</param>
 52        /// <param name="innerException">Inner exception.</param>
 53        public ErrorResponseException(string message, System.Exception innerException)
 054            : base(message, innerException)
 55        {
 056        }
 57    }
 58}