ZennoLab Assemblies Documentation
LastError Class
Members  Example 
Contains information of last error of project.
Object Model
LastError Class
Syntax
public class LastError : System.MarshalByRefObject 
Remarks
This class can be used in action OwnCode (C# or PHP) of ProjectMaker.
Example
The following example uses method GetLastError of "project" for getting last error of project.
LastError error = project.GetLastError();
string tmp = "";
if(error != null)
    tmp = string.Format("ActionComment: {0}.\r\nActionGroupId: {1}.\r\nActionId: {2}", error.ActionComment, error.ActionGroupId, error.ActionId);
 
return tmp;
Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      ZennoLab.InterfacesLibrary.ProjectModel.LastError

Requirements

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

See Also

Reference

LastError Members
ZennoLab.InterfacesLibrary.ProjectModel Namespace

Send Feedback