From 1e3a9644e142e38fa09c8f21d125126623aa6f17 Mon Sep 17 00:00:00 2001 From: Sean Feldman Date: Thu, 14 Jun 2018 00:53:46 -0600 Subject: [PATCH] Fixes #482 --- src/Microsoft.Azure.ServiceBus/IClientEntity.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Microsoft.Azure.ServiceBus/IClientEntity.cs b/src/Microsoft.Azure.ServiceBus/IClientEntity.cs index 75cfa62a..2e0bb670 100644 --- a/src/Microsoft.Azure.ServiceBus/IClientEntity.cs +++ b/src/Microsoft.Azure.ServiceBus/IClientEntity.cs @@ -44,6 +44,11 @@ public interface IClientEntity /// ServiceBusConnection ServiceBusConnection { get; } + /// + /// Returns true if connection is owned and false if connection is shared. + /// + bool OwnsConnection { get; } + /// /// Gets a list of currently registered plugins for this client. ///