Uiinfrastructure API Docs  
 

UIErrorHandler.GetErrors Method (ISessionManager, IApplication, AActivitySpace, Boolean, Boolean)

Call this method to obtain an enumeration of the current user's collection of errors that are associated with a given activity space.

public static IXPEnumerator GetErrors(
   ISessionManager sessionManager,
   IApplication application,
   AActivitySpace space,
   bool bForThisAs,
   bool bIncludeAdminErrors
);

Parameters

sessionManager
Pass the current user's ISessionManager
application
Pass the IApplication
space
bForThisAs
bIncludeAdminErrors
Pass a boolean indicating whether or not you wish to include errors for admin users. Use ErrorHanlder.GetDisplayAdminErrors() to obtain the correct value for this parameter.

Return Value

An IXPEnumerator containing UIError objects appropriate for the current user.

See Also

UIErrorHandler Class | com.plumtree.uiinfrastructure.errordisplay Namespace | UIErrorHandler.GetErrors Overload List