Class CompoundDocumentHeaderException
CompoundDocumentHeaderException class
Represents an exception which is thrown when the header of MPP file is broken.
public class CompoundDocumentHeaderException : ApplicationException
Examples
Shows how to catch <see cref="CompoundDocumentHeaderException" /> exception.
try
{
var project = new Project(DataDir + "Project1.mpp");
Console.WriteLine("Project Name: " + project.Get(Prj.Name));
}
catch (CompoundDocumentHeaderException e)
{
Console.WriteLine(e.Message);
}
See Also
- namespace Aspose.Tasks
- assembly Aspose.Tasks