Executes a specified delegate with the redirect of exceptions to the
ThrowException call.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Shared Sub Handle( _
ByVal action As System.Action, _
ByVal errorDialogCaption As System.String _
) |
Parameters
- action
- The action to be executed.
- errorDialogCaption
- The caption for a dialog that will show errors.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also