C# Class GoogleCloudExtension.Utils.ProtectedAction

This class wraps an Action with the ErrorHandlerUtils.HandleExceptions(Action) method to correclty handle all exceptions that escape the action.
Afficher le fichier Open project: GoogleCloudPlatform/google-cloud-visualstudio Class Usage Examples

Méthodes publiques

Méthode Description
Invoke ( ) : void

Invokes the action handling all of the exceptions that escape the action.

ProtectedAction ( System.Action action ) : System

Method Details

Invoke() public méthode

Invokes the action handling all of the exceptions that escape the action.
public Invoke ( ) : void
Résultat void

ProtectedAction() public méthode

public ProtectedAction ( System.Action action ) : System
action System.Action
Résultat System