Share via


ServiceRemotingExceptionHandler.IExceptionHandler.TryHandleException Method

Definition

Examines the exception and determines how that exception can be handled.

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

Parameters

exceptionInformation
ExceptionInformation

The information about the exception.

retrySettings
OperationRetrySettings

The operation retry preferences.

result
ExceptionHandlingResult

The result of the exception handling.

Returns

true if the exception is handled; otherwise, false.

Implements

Applies to