Ejemplo n.º 1
0
        public ExportService()
        {
            try
            {
                _exportAddin = AddinsFactory.CreateExportAddin();
            }
            catch (Exception ex)
            {
                WebOperationContext.Current.OutgoingResponse.StatusCode        = HttpStatusCode.InternalServerError;
                WebOperationContext.Current.OutgoingResponse.StatusDescription = ex.Message;
                WebOperationContext.Current.OutgoingResponse.ContentType       = "application/json";

                throw;
            }
        }