You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Ektron.Services.Task Namespace > Classes > Task Class > Task Methods > SetStateForTask
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Task.SetStateForTask Method

Set the task state.

C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "SetStateForTask", Description = "Set the task state.")]
public bool SetStateForTask(long taskId, Ektron.Cms.Common.EkEnumeration.TaskState newTaskState);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "SetStateForTask", Description = "Set the task state.")>
Public Function SetStateForTask(taskId As long, newTaskState As Ektron.Cms.Common.EkEnumeration.TaskState) As bool
Parameters 
Description 
taskId 
Task ID 
newTaskState 
New Task State 

False=if successfully state of the changed otherwise True

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!