UtilProfillingTestExecutionSuccessAsync Method
Tests the execution of a Action then returns a value that indicates whether the execution was successful.
Namespace: DevCase.Core.Diagnostics.ProfillingAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Task<bool> TestExecutionSuccessAsync(
Action action
)
Public Shared Function TestExecutionSuccessAsync (
action As Action
) As Task(Of Boolean)
Dim action As Action
Dim returnValue As Task(Of Boolean)
returnValue = UtilProfilling.TestExecutionSuccessAsync(action)
public:
static Task<bool>^ TestExecutionSuccessAsync(
Action^ action
)
static member TestExecutionSuccessAsync :
action : Action -> Task<bool>
No code example is currently available or this language may not be supported.
- action Action
-
The Action to invoke.
TaskBoolean if execution was successful, otherwise,
.
This is a code example.
No code example is currently available or this language may not be supported.
Dim result As Boolean = TestSuccessAsync(Sub() Integer.Parse("qwerty")).Result
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.