WorkflowDeploymentService.ValidateActivity method
Validates the specified activity against workflow definitions in the workflow store.
Namespace: Microsoft.SharePoint.WorkflowServices
Assembly: Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)
Syntax
'Declaration
<ClientCallableMethodAttribute> _
Public MustOverride Function ValidateActivity ( _
activityXaml As String _
) As String
'Usage
Dim instance As WorkflowDeploymentService
Dim activityXaml As String
Dim returnValue As String
returnValue = instance.ValidateActivity(activityXaml)
[ClientCallableMethodAttribute]
public abstract string ValidateActivity(
string activityXaml
)
Parameters
activityXaml
Type: System.StringThe activity to validate.
Return value
Type: System.String
Returns a null reference (Nothing in Visual Basic) if validation is successful; otherwise returns the error message encountered during validation.
See also
Reference
WorkflowDeploymentService class