TaskAgentHttpClientBase.RefreshAgentAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Preview API]
public virtual System.Threading.Tasks.Task RefreshAgentAsync(int poolId, int agentId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member RefreshAgentAsync : int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RefreshAgentAsync : int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- poolId
- Int32
- agentId
- Int32
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.