ExceptionHandler Interface
public interface ExceptionHandler
Defines the interface for handling the exceptions encountered in communicating with service fabric services.
Method Summary
Modifier and Type | Method and Description |
---|---|
Exception |
handleException(ExceptionInformation exceptionInformation, OperationRetrySettings retrySettings)
Method that examines the exception and determines how that exception can be handled. |
Method Details
handleException
public ExceptionHandlingResult handleException(ExceptionInformation exceptionInformation, OperationRetrySettings retrySettings)
Method that examines the exception and determines how that exception can be handled.
Parameters:
exceptionInformation
- Information about the exception.
retrySettings
- The operation retry preferences.
Returns:
true if the exception is handled, false otherwise
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應