ClientControllerCreateOperationAsync - метод |
Пространство имён:
Tessa.Web.Client.Controllers
Сборка:
Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 3.5.0.19
Синтаксис [HttpPostAttribute("operations/create")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
public Task<ActionResult> CreateOperationAsync(
void typeId,
Guid flags = 0,
Guid digest = default,
OperationCreationFlags request = default,
string id = null,
string cancellationToken = null
)
<HttpPostAttribute("operations/create")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
Public Function CreateOperationAsync (
typeId As Void,
Optional flags As Guid = 0,
Optional digest As Guid = Nothing,
Optional request As OperationCreationFlags = Nothing,
Optional id As String = Nothing,
Optional cancellationToken As String = Nothing
) As Task(Of ActionResult)
public:
[HttpPostAttribute(L"operations/create")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
Task<ActionResult^>^ CreateOperationAsync(
void typeId,
Guid flags = 0,
Guid digest = Guid(),
OperationCreationFlags request = OperationCreationFlags(),
String^ id = nullptr,
String^ cancellationToken = nullptr
)
[<HttpPostAttribute("operations/create")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
member CreateOperationAsync :
typeId : unit *
?flags : Guid *
?digest : Guid *
?request : OperationCreationFlags *
?id : string *
?cancellationToken : string
(* Defaults:
let _flags = defaultArg flags 0
let _digest = defaultArg digest new Guid()
let _request = defaultArg request new OperationCreationFlags()
let _id = defaultArg id null
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task<ActionResult>
Параметры
- typeId
- Тип: SystemVoid
- flags (Optional)
- Тип: SystemGuid
- digest (Optional)
- Тип: SystemGuid
- request (Optional)
- Тип: Tessa.Platform.OperationsOperationCreationFlags
- id (Optional)
- Тип: SystemString
- cancellationToken (Optional)
- Тип: SystemString
Возвращаемое значение
Тип:
TaskActionResultTValueСм. также