Freigeben über


LeaseLostException Konstruktoren

Definition

Überlädt

LeaseLostException()

Initialisiert eine neue Instanz der LeaseLostException-Klasse.

LeaseLostException(ILease)

Initialisiert einen neuen instance der LeaseLostException -Klasse unter Verwendung der angegebenen Lease.

LeaseLostException(String)

Initialisiert eine neue instance der -Klasse mithilfe einer LeaseLostException Fehlermeldung.

LeaseLostException(SerializationInfo, StreamingContext)

Initialisiert eine neue Instanz der LeaseLostException-Klasse unter Verwendung von Standardwerten.

LeaseLostException(String, Exception)

Initialisiert eine neue instance der LeaseLostException -Klasse mithilfe einer Fehlermeldung und einer inneren Ausnahme.

LeaseLostException(ILease, Exception, Boolean)

Initialisiert eine neue instance der LeaseLostException -Klasse unter Verwendung der angegebenen Lease, der inneren Ausnahme und eines Flags, das angibt, ob die Lease nicht mehr vorhanden ist.

LeaseLostException()

Initialisiert eine neue Instanz der LeaseLostException-Klasse.

public LeaseLostException ();
Public Sub New ()

Gilt für:

LeaseLostException(ILease)

Initialisiert einen neuen instance der LeaseLostException -Klasse unter Verwendung der angegebenen Lease.

public LeaseLostException (Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease lease);
new Microsoft.Azure.Documents.ChangeFeedProcessor.Exceptions.LeaseLostException : Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease -> Microsoft.Azure.Documents.ChangeFeedProcessor.Exceptions.LeaseLostException
Public Sub New (lease As ILease)

Parameter

lease
ILease

Instanz einer verlorenen Lease.

Gilt für:

LeaseLostException(String)

Initialisiert eine neue instance der -Klasse mithilfe einer LeaseLostException Fehlermeldung.

public LeaseLostException (string message);
new Microsoft.Azure.Documents.ChangeFeedProcessor.Exceptions.LeaseLostException : string -> Microsoft.Azure.Documents.ChangeFeedProcessor.Exceptions.LeaseLostException
Public Sub New (message As String)

Parameter

message
String

Die Ausnahmefehlermeldung.

Gilt für:

LeaseLostException(SerializationInfo, StreamingContext)

Initialisiert eine neue Instanz der LeaseLostException-Klasse unter Verwendung von Standardwerten.

protected LeaseLostException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Azure.Documents.ChangeFeedProcessor.Exceptions.LeaseLostException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Azure.Documents.ChangeFeedProcessor.Exceptions.LeaseLostException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameter

info
SerializationInfo

Das SerializationInfo-Objekt, das serialisierte Objektdaten für die ausgelöste Ausnahme enthält.

context
StreamingContext

Der StreamingContext, der Kontextinformationen zur Quelle bzw. zum Ziel enthält.

Gilt für:

LeaseLostException(String, Exception)

Initialisiert eine neue instance der LeaseLostException -Klasse mithilfe einer Fehlermeldung und einer inneren Ausnahme.

public LeaseLostException (string message, Exception innerException);
new Microsoft.Azure.Documents.ChangeFeedProcessor.Exceptions.LeaseLostException : string * Exception -> Microsoft.Azure.Documents.ChangeFeedProcessor.Exceptions.LeaseLostException
Public Sub New (message As String, innerException As Exception)

Parameter

message
String

Die Ausnahmefehlermeldung.

innerException
Exception

Die innere Ausnahme.

Gilt für:

LeaseLostException(ILease, Exception, Boolean)

Initialisiert eine neue instance der LeaseLostException -Klasse unter Verwendung der angegebenen Lease, der inneren Ausnahme und eines Flags, das angibt, ob die Lease nicht mehr vorhanden ist.

public LeaseLostException (Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease lease, Exception innerException, bool isGone);
new Microsoft.Azure.Documents.ChangeFeedProcessor.Exceptions.LeaseLostException : Microsoft.Azure.Documents.ChangeFeedProcessor.PartitionManagement.ILease * Exception * bool -> Microsoft.Azure.Documents.ChangeFeedProcessor.Exceptions.LeaseLostException
Public Sub New (lease As ILease, innerException As Exception, isGone As Boolean)

Parameter

lease
ILease

Instanz einer verlorenen Lease.

innerException
Exception

Die innere Ausnahme.

isGone
Boolean

Gibt an, ob die Lease nicht vorhanden ist.

Gilt für: