ServerHealthStatus IMailbox.CheckServerHealth()
        {
            ServerHealthStatus result = null;

            base.CreateContext("IMailbox.CheckServerHealth", new DataContext[0]).Execute(delegate
            {
                result = this.WrappedObject.CheckServerHealth();
            }, true);
            return(result);
        }
        ServerHealthStatus IMailbox.CheckServerHealth()
        {
            MrsTracer.ProxyClient.Function("RemoteMailbox.CheckServerHealth", new object[0]);
            this.VerifyMailboxConnection();
            if (base.ServerVersion[12])
            {
                return(base.MrsProxy.IMailbox_CheckServerHealth2(base.Handle));
            }
            ServerHealthStatus serverHealthStatus = new ServerHealthStatus(ServerHealthState.Healthy);

            try
            {
                base.MrsProxy.IMailbox_CheckServerHealth(base.Handle);
            }
            catch (MailboxReplicationTransientException)
            {
                serverHealthStatus.HealthState = ServerHealthState.NotHealthy;
            }
            return(serverHealthStatus);
        }