Removed unused usings and changed tabs to spaces
This commit is contained in:
Родитель
aa63de4b18
Коммит
169bd1dba3
|
@ -4,9 +4,6 @@
|
|||
namespace Microsoft.Azure.ServiceBus.Amqp
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Azure.Amqp;
|
||||
using Microsoft.Azure.Amqp.Encoding;
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@ namespace Microsoft.Azure.ServiceBus
|
|||
using System.Runtime.Serialization;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Serialization;
|
||||
using Microsoft.Azure.ServiceBus.Primitives;
|
||||
|
||||
/// <summary>Represents the unit of communication between ServiceBus client and Service.</summary>
|
||||
|
|
|
@ -11,27 +11,27 @@ namespace Microsoft.Azure.ServiceBus
|
|||
public class ServiceBusException : Exception
|
||||
{
|
||||
public ServiceBusException(bool isTransient)
|
||||
{
|
||||
this.IsTransient = isTransient;
|
||||
}
|
||||
{
|
||||
this.IsTransient = isTransient;
|
||||
}
|
||||
|
||||
public ServiceBusException(bool isTransient, string message)
|
||||
: base(message)
|
||||
{
|
||||
this.IsTransient = isTransient;
|
||||
}
|
||||
: base(message)
|
||||
{
|
||||
this.IsTransient = isTransient;
|
||||
}
|
||||
|
||||
public ServiceBusException(bool isTransient, Exception innerException)
|
||||
: base(innerException.Message, innerException)
|
||||
{
|
||||
this.IsTransient = isTransient;
|
||||
}
|
||||
: base(innerException.Message, innerException)
|
||||
{
|
||||
this.IsTransient = isTransient;
|
||||
}
|
||||
|
||||
public ServiceBusException(bool isTransient, string message, Exception innerException)
|
||||
: base(message, innerException)
|
||||
{
|
||||
this.IsTransient = isTransient;
|
||||
}
|
||||
: base(message, innerException)
|
||||
{
|
||||
this.IsTransient = isTransient;
|
||||
}
|
||||
|
||||
public override string Message
|
||||
{
|
||||
|
@ -54,5 +54,5 @@ namespace Microsoft.Azure.ServiceBus
|
|||
public bool IsTransient { get; }
|
||||
|
||||
public string ServiceBusNamespace { get; internal set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,7 +7,6 @@ namespace Microsoft.Azure.ServiceBus
|
|||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
|
|
Загрузка…
Ссылка в новой задаче