Microsoft.Protocols.TestSuites.MS_WWSP.MS_WWSPAdapter.GetWorkflowTaskData C# (CSharp) Method

GetWorkflowTaskData() public method

This operation is used to retrieve data about a single workflow task.
public GetWorkflowTaskData ( string item, int taskId, System.Guid listId ) : GetWorkflowTaskDataResponseGetWorkflowTaskDataResult
item string A parameter represents a URL which is point to a document item which is used as condition to search where the task start.
taskId int A parameter represents an integer which is the id of task item in a task type list, which is specified by workflow association setting.
listId System.Guid A parameter represents the list id (GUID format) of the workflow task list which include the specified task list.
return GetWorkflowTaskDataResponseGetWorkflowTaskDataResult
        public GetWorkflowTaskDataResponseGetWorkflowTaskDataResult GetWorkflowTaskData(string item, int taskId, Guid listId)
        {
            GetWorkflowTaskDataResponseGetWorkflowTaskDataResult getWorkflowTaskDataResult = null;
             
            try
            {
                getWorkflowTaskDataResult = this.wwspProxy.GetWorkflowTaskData(item, taskId, listId);
            }
            catch (SoapException)
            {
                this.CaptureHTTPStatusAndSoapFaultRequirements();
                throw;
            }
       
            // Capture requirements
            this.CaptureTranstportAndSOAPRequirements();
            this.CaptureXMLSchemaGetWorkflowTaskData();
            this.CaptureSoapInfoGetWorkflowTaskData();
            return getWorkflowTaskDataResult;
        }