Testing.ErrorLog.OnErrorStateChanged C# (CSharp) Method