Compartir a través de


EdgeOrderItemResource.Cancel Método

Definición

Cancelar el elemento de pedido.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems/{orderItemName}/cancel
  • Operation IdCancelOrderItem
public virtual Azure.Response Cancel (Azure.ResourceManager.EdgeOrder.Models.EdgeOrderItemCancellationReason cancellationReason, System.Threading.CancellationToken cancellationToken = default);
abstract member Cancel : Azure.ResourceManager.EdgeOrder.Models.EdgeOrderItemCancellationReason * System.Threading.CancellationToken -> Azure.Response
override this.Cancel : Azure.ResourceManager.EdgeOrder.Models.EdgeOrderItemCancellationReason * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Cancel (cancellationReason As EdgeOrderItemCancellationReason, Optional cancellationToken As CancellationToken = Nothing) As Response

Parámetros

cancellationReason
EdgeOrderItemCancellationReason

Motivo de cancelación.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

cancellationReason es null.

Se aplica a