System.Net.Sockets.DisconnectOverlappedAsyncResult.PostCompletion C# (CSharp) Méthode

PostCompletion() private méthode

private PostCompletion ( int numBytes ) : object
numBytes int
Résultat object
        internal override object PostCompletion(int numBytes)
        {
            if (ErrorCode == (int)SocketError.Success)
            {
                Socket socket = (Socket)AsyncObject;
                socket.SetToDisconnected();
                socket._remoteEndPoint = null;
            }
            return base.PostCompletion(numBytes);
        }
    }