internal static void WriteRpcError(RpcException e, string server, Task.TaskErrorLoggingDelegate errorHandler) { LocalizedException exception; ErrorCategory category; ManageExchangeCertificate.ProcessRpcError(e, server, out exception, out category); errorHandler(exception, category, null); }
internal static void ThrowLocalizedException(RpcException e, string server) { LocalizedException ex; ErrorCategory errorCategory; ManageExchangeCertificate.ProcessRpcError(e, server, out ex, out errorCategory); throw ex; }