Workflow Class

Implements the Microsoft.Office.Workflow.ISoapServerWorkflow interface.

Inheritance Hierarchy

System.Object
  System.ComponentModel.MarshalByValueComponent
    System.Web.Services.WebService
      Microsoft.Office.Workflow.Workflow

Namespace:  Microsoft.Office.Workflow
Assembly:  Microsoft.Office.WorkflowSoap (in Microsoft.Office.WorkflowSoap.dll)

Syntax

'Declaration
<WebServiceAttribute(Namespace := "http://schemas.microsoft.com/sharepoint/soap/workflow/")> _
<WebServiceBindingAttribute(ConformsTo := WsiProfiles.BasicProfile1_1)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class Workflow _
    Inherits WebService _
    Implements ISoapServerWorkflow
'Usage
Dim instance As Workflow
[WebServiceAttribute(Namespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/")]
[WebServiceBindingAttribute(ConformsTo = WsiProfiles.BasicProfile1_1)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class Workflow : WebService, ISoapServerWorkflow

Remarks

The Workflow class contains members that enable you to get information about workflow for an item or workflow task, start a workflow, get workflow templates, and so on.

For examples of how to use the Workflow object model, see the Workflow code sample folder and EnterpriseContentManagementStarterKitSampleGuide document in the ECM Starter Kit folder in the Microsoft Office SharePoint Server 2007 SDK download.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Workflow Members

Microsoft.Office.Workflow Namespace