コード例 #1
0
ファイル: SocketClass.cs プロジェクト: LukeByun/Launcher
        protected virtual void ErrorOccured(SocketErrorEventArgs e)
        {
            SocketErrorEventHandler handler = OnError;

            if (handler != null)
            {
                handler(this, e);
            }
        }
コード例 #2
0
        protected virtual void OnError(SocketErrorEventArgs e)
        {
            SocketErrorEventHandler temp = SocketError;

            if (temp != null)
            {
                SocketError(this, e);
            }
        }