This method hard deletes a state

Namespace: DotNetNuke.Entities.Content.Workflow
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
void DeleteWorkflowState(
	WorkflowState state
)
Visual Basic
Sub DeleteWorkflowState ( 
	state As WorkflowState
)

Remarks

This method takes care of state reordering.

Exceptions

ExceptionCondition
DotNetNuke.Entities.Content.Workflow.Exceptions..::..WorkflowInvalidOperationExceptionThrown when deleting a system state workflow (i.e.: Draft, Published) or if the workflow state is beign used

See Also