/// <summary> /// Display the Error Description along with the given message. /// </summary> /// <param name="message">Message to display.</param> private void DisplayErrorDescriptionGeneration(System.String message) { Dvtk.IheActors.Hl7.WebService.Generation.getErrorDescription errorDescription = new Dvtk.IheActors.Hl7.WebService.Generation.getErrorDescription(); Dvtk.IheActors.Hl7.WebService.Generation.getErrorDescriptionResponse errorDescriptionResponse = new Dvtk.IheActors.Hl7.WebService.Generation.getErrorDescriptionResponse(); errorDescriptionResponse = _hl7MessageGeneration.getErrorDescription(errorDescription); if (errorDescriptionResponse.@return != null) { Console.WriteLine("{0} - failed. Error Description: {1}", message, errorDescriptionResponse.@return); } else { Console.WriteLine("{0} - failed", message); } }
/// <summary> /// Display the Error Description along with the given message. /// </summary> /// <param name="message">Message to display.</param> private void DisplayErrorDescriptionGeneration(System.String message) { Dvtk.IheActors.Hl7.WebService.Generation.getErrorDescription errorDescription = new Dvtk.IheActors.Hl7.WebService.Generation.getErrorDescription(); Dvtk.IheActors.Hl7.WebService.Generation.getErrorDescriptionResponse errorDescriptionResponse = new Dvtk.IheActors.Hl7.WebService.Generation.getErrorDescriptionResponse(); errorDescriptionResponse = _hl7MessageGeneration.getErrorDescription(errorDescription); if (errorDescriptionResponse.@return != null) { Console.WriteLine("{0} - failed. Error Description: {1}", message, errorDescriptionResponse.@return); } else { Console.WriteLine("{0} - failed", message); } }