Share via


EventHubsException Constructors

Definition

Overloads

EventHubsException(Boolean)

Returns a new EventHubsException

EventHubsException(Boolean, Exception)

Returns a new EventHubsException

EventHubsException(Boolean, String)

Returns a new EventHubsException

EventHubsException(Boolean, String, Exception)

Returns a new EventHubsException

EventHubsException(Boolean, String, Exception, EventHubsException+ErrorSourceType)

Returns a new EventHubsException

EventHubsException(Boolean)

Source:
EventHubsException.cs

Returns a new EventHubsException

public EventHubsException (bool isTransient);
new Microsoft.Azure.EventHubs.EventHubsException : bool -> Microsoft.Azure.EventHubs.EventHubsException
Public Sub New (isTransient As Boolean)

Parameters

isTransient
Boolean

Specifies whether or not the exception is transient.

Applies to

EventHubsException(Boolean, Exception)

Source:
EventHubsException.cs

Returns a new EventHubsException

public EventHubsException (bool isTransient, Exception innerException);
new Microsoft.Azure.EventHubs.EventHubsException : bool * Exception -> Microsoft.Azure.EventHubs.EventHubsException
Public Sub New (isTransient As Boolean, innerException As Exception)

Parameters

isTransient
Boolean

Specifies whether or not the exception is transient.

innerException
Exception

The inner exception.

Applies to

EventHubsException(Boolean, String)

Source:
EventHubsException.cs

Returns a new EventHubsException

public EventHubsException (bool isTransient, string message);
new Microsoft.Azure.EventHubs.EventHubsException : bool * string -> Microsoft.Azure.EventHubs.EventHubsException
Public Sub New (isTransient As Boolean, message As String)

Parameters

isTransient
Boolean

Specifies whether or not the exception is transient.

message
String

The detailed message exception.

Applies to

EventHubsException(Boolean, String, Exception)

Source:
EventHubsException.cs

Returns a new EventHubsException

public EventHubsException (bool isTransient, string message, Exception innerException);
new Microsoft.Azure.EventHubs.EventHubsException : bool * string * Exception -> Microsoft.Azure.EventHubs.EventHubsException
Public Sub New (isTransient As Boolean, message As String, innerException As Exception)

Parameters

isTransient
Boolean

Specifies whether or not the exception is transient.

message
String

The detailed message exception.

innerException
Exception

The inner exception.

Applies to

EventHubsException(Boolean, String, Exception, EventHubsException+ErrorSourceType)

Source:
EventHubsException.cs

Returns a new EventHubsException

public EventHubsException (bool isTransient, string message, Exception innerException, Microsoft.Azure.EventHubs.EventHubsException.ErrorSourceType errorSource);
new Microsoft.Azure.EventHubs.EventHubsException : bool * string * Exception * Microsoft.Azure.EventHubs.EventHubsException.ErrorSourceType -> Microsoft.Azure.EventHubs.EventHubsException
Public Sub New (isTransient As Boolean, message As String, innerException As Exception, errorSource As EventHubsException.ErrorSourceType)

Parameters

isTransient
Boolean

Specifies whether or not the exception is transient.

message
String

The detailed message exception.

innerException
Exception

The inner exception.

errorSource
EventHubsException.ErrorSourceType

Error source of exception.

Applies to