ZennoLab Assemblies Documentation
GetLastError Method
Example 
Get a last error after project failed.
Syntax
LastError GetLastError()

Return Value

Type: ZennoLab.InterfacesLibrary.ProjectModel.LastError

An information of last error.

Example
The following example demonstrates using GetLastError method.
var error = project.GetLastError();
var tmp = "";
if(error != null)
    tmp = string.Format("ActionComment: {0}.\r\nActionGroupId: {1}.\r\nActionId: {2}", error.ActionComment, error.ActionGroupId, error.ActionId);
 
return tmp;
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

IZennoPosterProjectModel Interface
IZennoPosterProjectModel Members

Send Feedback