Compartilhar via


ServiceRemotingExceptionHandler.IExceptionHandler.TryHandleException Método

Definição

Examina a exceção e determina como essa exceção pode ser tratada.

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

As informações sobre a exceção.

retrySettings
OperationRetrySettings

As preferências de repetição da operação.

result
ExceptionHandlingResult

O resultado do tratamento de exceção.

Retornos

true se a exceção for tratada; caso contrário, false.

Implementações

Aplica-se a