< Summary

Class:Azure.Identity.CredentialUnavailableException
Assembly:Azure.Identity
File(s):C:\Git\azure-sdk-for-net\sdk\identity\Azure.Identity\src\CredentialUnavailableException.cs
Covered lines:4
Uncovered lines:0
Coverable lines:4
Total lines:35
Line coverage:100% (4 of 4)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-100%100%
.ctor(...)-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\identity\Azure.Identity\src\CredentialUnavailableException.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5using Azure.Core;
 6
 7namespace Azure.Identity
 8{
 9
 10    /// <summary>
 11    /// An exception indicating a <see cref="TokenCredential"/> did not attempt to authenticate and retrieve <see cref="
 12    /// </summary>
 13    public class CredentialUnavailableException : AuthenticationFailedException
 14    {
 15
 16        /// <summary>
 17        /// Creates a new <see cref="CredentialUnavailableException"/> with the specified message.
 18        /// </summary>
 19        /// <param name="message">The message describing the authentication failure.</param>
 20        public CredentialUnavailableException(string message)
 261421            : this(message, null)
 22        {
 261423        }
 24
 25        /// <summary>
 26        /// Creates a new <see cref="CredentialUnavailableException"/> with the specified message.
 27        /// </summary>
 28        /// <param name="message">The message describing the authentication failure.</param>
 29        /// <param name="innerException">The exception underlying the authentication failure.</param>
 30        public CredentialUnavailableException(string message, Exception innerException)
 266631            : base(message, innerException)
 32        {
 266633        }
 34    }
 35}

Methods/Properties

.ctor(...)
.ctor(...)