SPWorkflowFilter Constructor (SPWorkflowState, SPWorkflowState)
Initializes a new instance of the SPWorkflowFilter class, based upon the filtered states.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub New ( _
inclusiveFilterStates As SPWorkflowState, _
exclusiveFilterStates As SPWorkflowState _
)
'Usage
Dim inclusiveFilterStates As SPWorkflowState
Dim exclusiveFilterStates As SPWorkflowState
Dim instance As New SPWorkflowFilter(inclusiveFilterStates, _
exclusiveFilterStates)
public SPWorkflowFilter(
SPWorkflowState inclusiveFilterStates,
SPWorkflowState exclusiveFilterStates
)
Parameters
inclusiveFilterStates
Type: Microsoft.SharePoint.Workflow.SPWorkflowStateAn object that represents the inclusive workflow state.
exclusiveFilterStates
Type: Microsoft.SharePoint.Workflow.SPWorkflowStateAn object that represents the exclusive workflow state.
Remarks
This constructor sets the value of the InclusiveFilterStates property to the value of the inclusiveFilterStates parameter and the value of the ExclusiveFilterStates property to the value of the exclusiveFilterStates parameter.