protected virtual void OnApplicationCertificateError(byte[] clientCertificate, ServiceResult result) { throw new ServiceResultException(result); }