ExceptionHandler インターフェイス

public interface ExceptionHandler

Service Fabric サービスとの通信で発生する例外を処理するためのインターフェイスを定義します。

メソッドの概要

修飾子と型 メソッドと説明
ExceptionHandlingResult handleException(ExceptionInformation exceptionInformation, OperationRetrySettings retrySettings)

例外を調べ、その例外を処理する方法を決定するメソッド。

メソッドの詳細

handleException

public ExceptionHandlingResult handleException(ExceptionInformation exceptionInformation, OperationRetrySettings retrySettings)

例外を調べ、その例外を処理する方法を決定するメソッド。

パラメーター:

exceptionInformation - 例外に関する情報。
retrySettings - 操作の再試行の基本設定。

戻り値:

例外が処理される場合は true、それ以外の場合は false

適用対象