Version

IsActivityOperationSupported(ActivityBase,ActivityOperation) Method

Indicates whether the specified activity operation for the specified activity type is supported.
Syntax
'Declaration
 
Protected Friend Overloads Overrides Function IsActivityOperationSupported( _
   ByVal activity As ActivityBase, _
   ByVal activityOperation As ActivityOperation _
) As Boolean
protected internal override bool IsActivityOperationSupported( 
   ActivityBase activity,
   ActivityOperation activityOperation
)

Parameters

activity
Activity instance on which the operation is going to be performed.
activityOperation
Activity operation.

Return Value

True if the operation is supported. False otherwise.
Remarks

This method is used by the data manager to determine if the specified operation is supprted for the specified activity. This method is called when there's a context of an activity object available, for which the operation is to be performed. If there's no context of an activity available, then the overload IsActivityOperationSupported(ActivityType,ActivityOperation,ResourceCalendar) that takes in an ActivityType value is used by the data manager to determine if an operation can be performed. If the operation is not supported, relevant user interface will be disabled or hidden in the schedule controls.

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