Freigeben über


IExceptionHandler.TryHandleException Methode

Definition

Methode, die die Ausnahme untersucht und bestimmt, wie diese Ausnahme behandelt werden kann.

public bool TryHandleException (Microsoft.ServiceFabric.Services.Communication.Client.ExceptionInformation exceptionInformation, Microsoft.ServiceFabric.Services.Communication.Client.OperationRetrySettings retrySettings, out Microsoft.ServiceFabric.Services.Communication.Client.ExceptionHandlingResult result);
abstract member TryHandleException : Microsoft.ServiceFabric.Services.Communication.Client.ExceptionInformation * Microsoft.ServiceFabric.Services.Communication.Client.OperationRetrySettings * ExceptionHandlingResult -> bool
Public Function TryHandleException (exceptionInformation As ExceptionInformation, retrySettings As OperationRetrySettings, ByRef result As ExceptionHandlingResult) As Boolean

Parameter

exceptionInformation
ExceptionInformation

Informationen zur Ausnahme

retrySettings
OperationRetrySettings

Die Wiederholungseinstellungen für den Vorgang.

result
ExceptionHandlingResult

Ergebnis der Ausnahmebehandlung

Gibt zurück

TRUE, wenn die Ausnahme behandelt wird, andernfalls false

Gilt für: