Share via


PartitionNotOwnedException Constructors

Definition

Overloads

PartitionNotOwnedException(String)

Initializes a new instance of the PartitionNotOwnedException class with a specified error message.

PartitionNotOwnedException(String, Exception)

Initializes a new instance of the PartitionNotOwnedException class with a specified error message and a reference to the inner exception.

PartitionNotOwnedException(String)

Initializes a new instance of the PartitionNotOwnedException class with a specified error message.

public PartitionNotOwnedException (string message);
new Microsoft.ServiceBus.Messaging.PartitionNotOwnedException : string -> Microsoft.ServiceBus.Messaging.PartitionNotOwnedException
Public Sub New (message As String)

Parameters

message
String

The error message that describes the cause of the exception.

Applies to

PartitionNotOwnedException(String, Exception)

Initializes a new instance of the PartitionNotOwnedException class with a specified error message and a reference to the inner exception.

public PartitionNotOwnedException (string message, Exception innerException);
new Microsoft.ServiceBus.Messaging.PartitionNotOwnedException : string * Exception -> Microsoft.ServiceBus.Messaging.PartitionNotOwnedException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message that describes the cause of the exception.

innerException
Exception

The inner exception that is the cause of the current exception.

Applies to