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: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

IZennoPosterProjectModel Interface
IZennoPosterProjectModel Members

Send Feedback