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.
ファイルを表示 Open project: GoogleCloudPlatform/google-cloud-visualstudio Class Usage Examples

Public Methods

Method Description
Invoke ( ) : void

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

ProtectedAction ( System.Action action ) : System

Method Details

Invoke() public method

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

ProtectedAction() public method

public ProtectedAction ( System.Action action ) : System
action System.Action
return System