Workflow Class

Contains methods used to call the Workflow Web service.

Web Service: WorkflowWeb Reference: http://<Site>/_vti_bin/Workflow.asmx

Syntax

'Declaration
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<DebuggerStepThroughAttribute> _
<DesignerCategoryAttribute("code")> _
<WebServiceBindingAttribute(Name:="WorkflowSoap", Web Service:="https://schemas.microsoft.com/sharepoint/soap/workflow/")> _
Public Class Workflow
    Inherits SoapHttpClientProtocol
'Usage
Dim instance As Workflow
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[DebuggerStepThroughAttribute] 
[DesignerCategoryAttribute("code")] 
[WebServiceBindingAttribute(Name="WorkflowSoap", Web Service="https://schemas.microsoft.com/sharepoint/soap/workflow/")] 
public class Workflow : SoapHttpClientProtocol

Remarks

The Workflow Web service provides a workflow interface for remote clients to get information about workflow for an item or workflow task, start a workflow, or get workflow templates, and so on.

To use the Workflow Web service library, you must generate a proxy class in either Microsoft Visual C# or Microsoft Visual Basic through which you can call the various Web service methods.

The Web Services Description Language (WSDL) for the Workflow Web service endpoint is accessed through workflow.asmx?wsdl.

The following example shows the format of the URL to the Workflow WSDL file.

http://<server>/<customsite>/_vti_bin/workflow.asmx

If you do not have a custom site, you can use the following URL:

http://<server>/_vti_bin/workflow.asmx

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       System.Web.Services.Protocols.WebClientProtocol
         System.Web.Services.Protocols.HttpWebClientProtocol
           System.Web.Services.Protocols.SoapHttpClientProtocol
            Workflow.Workflow

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
Workflow Web Service