ValidationHelperIsSubjectValid Method

Validates whether subject is valid

Definition

Namespace: Scanjour.Workflow4.ActivityLibrary
Assembly: Scanjour.Workflow4.ActivityLibrary_24.4.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.4.0.0.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static bool IsSubjectValid(
	ActivityContext context,
	string subject,
	out string errorMessage
)

Parameters

context  ActivityContext
Activity context
subject  String
The subject text
errorMessage  String
Message in case of error

Return Value

Boolean
Returns true if subject is provided and the text does not exceed MaxSubjectLength, otherwise false

See Also