Skip to content

DeleteQueueItem.cs

Avrigeanu Laurian edited this page Apr 14, 2023 · 1 revision

DeleteQueueItem(In_QueueItem:QueueItem, QueueName:string) : void

Parameters

  • In_QueueItem: An object of type QueueItem to be deleted from the queue table.
  • QueueName: A string representing the name of the queue table.

Returns

  • void: This method does not return anything.

Remarks

  • This method deletes a row from the queue table specified by QueueName where the Id and ItemKey fields match those of the In_QueueItem object.
  • The SQL statement used to perform the deletion is dynamically constructed using string interpolation to insert the table name and values from the In_QueueItem object.
  • The deletion is executed using the ExecuteNonQuery() method of a MySqlCommand object, which is created using the SQL statement and a Connection object associated with the Orchestrator class.
Clone this wiki locally