Compartir a través de


IExceptionHandler.TryHandleException Método

Definición

Método que examina la excepción y determina cómo se puede controlar esa excepción.

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

Parámetros

exceptionInformation
ExceptionInformation

Información sobre la excepción

retrySettings
OperationRetrySettings

Preferencias de reintento de la operación.

result
ExceptionHandlingResult

Resultado del control de excepciones

Devoluciones

True si se controla la excepción, false en caso contrario

Se aplica a