Jaa


BackgroundTaskCompletedEventArgs.CheckResult Method

Definition

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.

Applies to