ZennoLab Assemblies Documentation
LastError Class
Members  Example 
ZennoLab.InterfacesLibrary.ProjectModel Namespace : LastError Class
Contains information of last error of project.
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("ProjectName: {0}.\r\nActionComment: {1}.\r\nActionGroupId: {2}.\r\nActionId: {3}", error.ProjectName, 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