C# Class GoogleCloudExtension.Utils.ErrorHandlerUtils

This class implements an event handler for the exceptions that escape the given Action.
ファイルを表示 Open project: GoogleCloudPlatform/google-cloud-visualstudio Class Usage Examples

Public Methods

Method Description
HandleExceptions ( System.Action action ) : void

Runs the given Action and handles all non-critical exceptions by showing an error dialog to the user. If the exception is critical, as determiend by ErrorHandler.IsCriticalException(Exception) then it is re-thrown as this could be that the process is not in a good state to continue executing.

Method Details

HandleExceptions() public static method

Runs the given Action and handles all non-critical exceptions by showing an error dialog to the user. If the exception is critical, as determiend by ErrorHandler.IsCriticalException(Exception) then it is re-thrown as this could be that the process is not in a good state to continue executing.
public static HandleExceptions ( System.Action action ) : void
action System.Action
return void