Compartir a través de


ServiceRemotingExceptionHandler.IExceptionHandler.TryHandleException Método

Definición

Examina la excepción y determina cómo se puede controlar esa excepción.

bool IExceptionHandler.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 Microsoft.ServiceFabric.Services.Communication.Client.IExceptionHandler.TryHandleException : Microsoft.ServiceFabric.Services.Communication.Client.ExceptionInformation * Microsoft.ServiceFabric.Services.Communication.Client.OperationRetrySettings * ExceptionHandlingResult -> bool
override this.Microsoft.ServiceFabric.Services.Communication.Client.IExceptionHandler.TryHandleException : Microsoft.ServiceFabric.Services.Communication.Client.ExceptionInformation * Microsoft.ServiceFabric.Services.Communication.Client.OperationRetrySettings * ExceptionHandlingResult -> bool
Function TryHandleException (exceptionInformation As ExceptionInformation, retrySettings As OperationRetrySettings, ByRef result As ExceptionHandlingResult) As Boolean Implements IExceptionHandler.TryHandleException

Parámetros

exceptionInformation
ExceptionInformation

La información acerca de la excepción.

retrySettings
OperationRetrySettings

Preferencias de reintento de la operación.

result
ExceptionHandlingResult

Resultado del control de excepciones.

Devoluciones

Es true si la excepción está controlada; de lo contrario, es false.

Implementaciones

Se aplica a