Version

Error Property (ActivityBase)

Gets or sets the error if any associated with the activity.
Syntax
'Declaration
 
Public Property Error As DataErrorInfo
public DataErrorInfo Error {get; set;}
Remarks

When there's an activity specific error, for example an attempt to update an activity with invalid data results in an error, Error property will be set to a Infragistics.DataErrorInfo object containing the error information.

You can set the Error to a new DataErrorInfo object or set it to null to clear an existing error. The Error is cleared automatically by when the user performs another operation on the activity that succeeds.

Note that the XamScheduleDataManager's Error event is raised whenever there's an error, including activity errors. You can hook into that event if you want to get notified of when an error occurs.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also