ZennoLab Assemblies Documentation
LastError Class
Members  Example  See Also  Send Feedback
ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace : LastError Class

Glossary Item Box

Contains information of last error of project.

Syntax

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

See Also

© 2013 All Rights Reserved.