TaskAgentHttpClientBase.DeleteServiceEndpointAsync 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.
Overloads
| Name | Description |
|---|---|
| DeleteServiceEndpointAsync(String, Guid, Object, CancellationToken) |
Obsolete.
[Preview API] |
| DeleteServiceEndpointAsync(Guid, Guid, Object, CancellationToken) |
Obsolete.
[Preview API] |
DeleteServiceEndpointAsync(String, Guid, Object, CancellationToken)
Caution
ServiceEndpoint APIs under distributedtask area is deprecated. Use the APIs under serviceendpoint area instead.
[Preview API]
public virtual System.Threading.Tasks.Task DeleteServiceEndpointAsync(string project, Guid endpointId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
[System.Obsolete("ServiceEndpoint APIs under distributedtask area is deprecated. Use the APIs under serviceendpoint area instead.")]
public virtual System.Threading.Tasks.Task DeleteServiceEndpointAsync(string project, Guid endpointId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteServiceEndpointAsync : string * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteServiceEndpointAsync : string * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- project
- String
Project ID or project name
- endpointId
- Guid
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
- Attributes
Applies to
DeleteServiceEndpointAsync(Guid, Guid, Object, CancellationToken)
Caution
ServiceEndpoint APIs under distributedtask area is deprecated. Use the APIs under serviceendpoint area instead.
[Preview API]
public virtual System.Threading.Tasks.Task DeleteServiceEndpointAsync(Guid project, Guid endpointId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
[System.Obsolete("ServiceEndpoint APIs under distributedtask area is deprecated. Use the APIs under serviceendpoint area instead.")]
public virtual System.Threading.Tasks.Task DeleteServiceEndpointAsync(Guid project, Guid endpointId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteServiceEndpointAsync : Guid * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteServiceEndpointAsync : Guid * Guid * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- project
- Guid
Project ID
- endpointId
- Guid
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
- Attributes