SPWorkflowFilter Constructor (SPWorkflowState, SPWorkflowState, SPWorkflowAssignedToFilter)
Initializes a new instance of the SPWorkflowFilter class, based upon the filtered states and to whom the workflow is assigned.
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, _
filterAssignedTo As SPWorkflowAssignedToFilter _
)
'Usage
Dim inclusiveFilterStates As SPWorkflowState
Dim exclusiveFilterStates As SPWorkflowState
Dim filterAssignedTo As SPWorkflowAssignedToFilter
Dim instance As New SPWorkflowFilter(inclusiveFilterStates, _
exclusiveFilterStates, filterAssignedTo)
public SPWorkflowFilter(
SPWorkflowState inclusiveFilterStates,
SPWorkflowState exclusiveFilterStates,
SPWorkflowAssignedToFilter filterAssignedTo
)
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.
filterAssignedTo
Type: Microsoft.SharePoint.Workflow.SPWorkflowAssignedToFilterAn object that represents to whom the workflow is assigned.
Remarks
This constructor sets the value of the InclusiveFilterStates property to the value of the inclusiveFilterStates parameter, the value of the ExclusiveFilterStates property to the value of the exclusiveFilterStates parameter, and the value of the AssignedTo property to the value of the filterAssignedTo parameter.