TaskAgentHttpClientBase.DeleteAgentSessionAsync 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 DeleteAgentSessionAsync(int poolId, Guid sessionId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteAgentSessionAsync : int * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteAgentSessionAsync : int * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- poolId
- Int32
- sessionId
- Guid
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.