< Summary

Class:Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.CustomVisionErrorException
Assembly:Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.CustomVision.Training\src\Generated\Models\CustomVisionErrorException.cs
Covered lines:0
Uncovered lines:9
Coverable lines:9
Total lines:62
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\Vision.CustomVision.Training\src\Generated\Models\CustomVisionErrorException.cs

#LineLine coverage
 1// <auto-generated>
 2// Copyright (c) Microsoft Corporation. All rights reserved.
 3// Licensed under the MIT License. See License.txt in the project root for
 4// license information.
 5//
 6// Code generated by Microsoft (R) AutoRest Code Generator.
 7// Changes may cause incorrect behavior and will be lost if the code is
 8// regenerated.
 9// </auto-generated>
 10
 11namespace Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models
 12{
 13    using Microsoft.Rest;
 14
 15    /// <summary>
 16    /// Exception thrown for an invalid response with CustomVisionError
 17    /// information.
 18    /// </summary>
 19    public partial class CustomVisionErrorException : RestException
 20    {
 21        /// <summary>
 22        /// Gets information about the associated HTTP request.
 23        /// </summary>
 024        public HttpRequestMessageWrapper Request { get; set; }
 25
 26        /// <summary>
 27        /// Gets information about the associated HTTP response.
 28        /// </summary>
 029        public HttpResponseMessageWrapper Response { get; set; }
 30
 31        /// <summary>
 32        /// Gets or sets the body object.
 33        /// </summary>
 034        public CustomVisionError Body { get; set; }
 35
 36        /// <summary>
 37        /// Initializes a new instance of the CustomVisionErrorException class.
 38        /// </summary>
 039        public CustomVisionErrorException()
 40        {
 041        }
 42
 43        /// <summary>
 44        /// Initializes a new instance of the CustomVisionErrorException class.
 45        /// </summary>
 46        /// <param name="message">The exception message.</param>
 47        public CustomVisionErrorException(string message)
 048            : this(message, null)
 49        {
 050        }
 51
 52        /// <summary>
 53        /// Initializes a new instance of the CustomVisionErrorException class.
 54        /// </summary>
 55        /// <param name="message">The exception message.</param>
 56        /// <param name="innerException">Inner exception.</param>
 57        public CustomVisionErrorException(string message, System.Exception innerException)
 058            : base(message, innerException)
 59        {
 060        }
 61    }
 62}