private OnTestMethodCompleted ( object sender, TestMethodCompletedEventArgs e ) : void | ||
sender | object | The source object. |
e | Microsoft.Silverlight.Testing.Harness.TestMethodCompletedEventArgs | The event data. |
return | void |
private void OnTestMethodCompleted(object sender, TestMethodCompletedEventArgs e)
{
ScenarioResult result = e.Result;
if (result == null)
{
throw new InvalidOperationException("The result was not present.");
}
ProcessResult(result);
}