< Summary

Class:Microsoft.Azure.EventHubs.Processor.EventProcessorRuntimeException
Assembly:Microsoft.Azure.EventHubs.Processor
File(s):C:\Git\azure-sdk-for-net\sdk\eventhub\Microsoft.Azure.EventHubs.Processor\src\EventProcessorRuntimeException.cs
Covered lines:0
Uncovered lines:6
Coverable lines:6
Total lines:29
Line coverage:0% (0 of 6)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\eventhub\Microsoft.Azure.EventHubs.Processor\src\EventProcessorRuntimeException.cs

#LineLine coverage
 1// Copyright (c) Microsoft. All rights reserved.
 2// Licensed under the MIT license. See LICENSE file in the project root for full license information.
 3
 4namespace Microsoft.Azure.EventHubs.Processor
 5{
 6    using System;
 7
 8    /// <summary>
 9    /// An exception thrown during event processing.
 10    /// </summary>
 11    public class EventProcessorRuntimeException : EventHubsException
 12    {
 13        internal EventProcessorRuntimeException(string message, string action)
 014            : this(message, action, null)
 15        {
 016        }
 17
 18        internal EventProcessorRuntimeException(string message, string action, Exception innerException)
 019            : base(true, message, innerException, ErrorSourceType.UserError)
 20        {
 021            this.Action = action;
 022        }
 23
 24        /// <summary>
 25        /// Gets the action that was being performed when the exception occured.
 26        /// </summary>
 027        public string Action { get; }
 28    }
 29}

Methods/Properties

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