protected void OnAuthenticationFailed(SaslFailure aFailure) { if (AuthenticationFailed != null) { AuthenticationFailedArgs args = new AuthenticationFailedArgs(aFailure); AuthenticationFailed(this, args); } }