OperationsRestClient class
应使用基类(派生自)向 VSS REST API 发出请求
方法
| get |
使用给定的 pluginId 从 operationId 获取作。 |
构造函数详细信息
OperationsRestClient(IVssRestClientOptions)
方法详细信息
getOperation(string, string)
使用给定的 pluginId 从 operationId 获取作。
function getOperation(operationId: string, pluginId?: string): Promise<Operation>
参数
- operationId
-
string
作的 ID。
- pluginId
-
string
插件的 ID。
返回
Promise<Operation>