using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FLY.Thick.Base.IService { public interface INotifyErrorArisen { event ErrorArisenEventHander ErrorArisenEvent; } public class ErrorArisenEventArgs : EventArgs { /// <summary> /// 未知错误 /// </summary> public const byte ERRNO_Unkown = 0; /// <summary> /// 出错码 /// </summary> public byte Errno = ERRNO_Unkown; } public delegate void ErrorArisenEventHander(object sender, ErrorArisenEventArgs e); }