BackgroundTaskCompletedEventArgs.CheckResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Throws an exception if the background task completed event has reported an error.
public:
virtual void CheckResult() = CheckResult;
void CheckResult();
public void CheckResult();
function checkResult()
Public Sub CheckResult ()
Remarks
This method should be called from within a try block. If the background task completed event reported an error, it will be caught as an exception in the subsequent catch clause.