DiagramEdge.LogError C# (CSharp) Method