Phoenix.Socket.OnError C# (CSharp) Method