Performs the specified operation and return the corresponding operation result.
Parameters
- operation
- The operation to perform.
The value of this parameter cannot be null
(Nothing
in Visual Basic).
Type Parameters
- TOperationException
- The type of operation exception to catch.
Return Value
Returns the operation result for the performed operation.
This method never returns null
(Nothing
in Visual Basic).
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also