public void Trace(string traceType, string traceMessage) { if (traceMessage.Contains("(401)")) { Result = ETraceResult.LoginError; } if (traceMessage.Contains("No matching Autodiscover DNS SRV records were found.")) { Result = ETraceResult.AutodiscoverError; } }
public ExchangeTraceListener() { Result = ETraceResult.Ok; }