static void PrintError(string action, PrimoSoftware.AVBlocks.ErrorInfo e) { if (PrimoSoftware.AVBlocks.ErrorFacility.Success == e.Facility) { Console.WriteLine("Success"); } else { Console.WriteLine("{0}: {1}, facility:{2} code:{3}", action, e.Message, e.Facility, e.Code); } Console.WriteLine(); }
public EncoderException(PrimoSoftware.AVBlocks.ErrorInfo errorInfo) { m_error = errorInfo; }