|
OperationControllerUpdateState Method |
Update the state of a operation
Namespace: DrawerBackup.Server.WebS.ControllersAssembly: DrawerBackup.Server (in DrawerBackup.Server.dll) Version: 0.0.1.1 (0.0.1.1)
Syntax[AuthorizeAttribute]
[HttpPostAttribute]
public Result UpdateState(
string id,
[FromBodyAttribute] JobState state
)
<AuthorizeAttribute>
<HttpPostAttribute>
Public Function UpdateState (
id As String,
<FromBodyAttribute> state As JobState
) As Result
public:
[AuthorizeAttribute]
[HttpPostAttribute]
Result^ UpdateState(
String^ id,
[FromBodyAttribute] JobState state
)
[<AuthorizeAttribute>]
[<HttpPostAttribute>]
member UpdateState :
id : string *
[<FromBodyAttribute>] state : JobState -> Result
Parameters
- id
- Type: SystemString
- state
- Type: DrawerBackup.Native.Data.EntitiesJobState
Return Value
Type:
Result
See Also