GSF.ServiceProcess.ClientHelper.RemotingClient_ConnectionEstablished C# (CSharp) Метод

RemotingClient_ConnectionEstablished() приватный Метод

private RemotingClient_ConnectionEstablished ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void
        private void RemotingClient_ConnectionEstablished(object sender, EventArgs e)
        {
            // Upon establishing connection with the service's communication client, we'll send our information to the
            // service so the service can keep track of all the client that are connected to its communication server.
            m_remotingClient.SendAsync(new ClientInfo(this));

            StringBuilder status = new StringBuilder();
            status.AppendFormat("Connected to {0}:", m_remotingClient.ServerUri);
            status.AppendLine();
            status.AppendLine();
            status.Append(m_remotingClient.Status);
            status.AppendLine();
            UpdateStatus(UpdateType.Information, "{0}", status.ToString());
            SendRequest(StatusMessageFilter);
        }