Пример #1
0
        protected void MarkCheckAsPassed()
        {
            bool isTransitioningState = IgnoreTransientErrors.ResetError(this.ErrorKey);

            this.m_checkResultInfo.SetPassed(this.InstanceIdentity, isTransitioningState);
            ExTraceGlobals.HealthChecksTracer.TraceDebug <string>((long)this.GetHashCode(), "Check {0} has passed.", this.Title);
        }
Пример #2
0
        protected void ReportPassedInstance()
        {
            bool isTransitioningState = IgnoreTransientErrors.ResetError(this.ErrorKey);

            this.m_checkResultInfo.AddSuccess(this.InstanceIdentity, isTransitioningState);
            ExTraceGlobals.HealthChecksTracer.TraceDebug <string, string>((long)this.GetHashCode(), "Check {0} is recording a pass entry for instance identity '{1}'.", this.Title, this.InstanceIdentity);
        }