OpenAIAssistantAgent.DeleteAsync(CancellationToken) 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.
Delete the assistant definition.
public System.Threading.Tasks.Task<bool> DeleteAsync (System.Threading.CancellationToken cancellationToken = default);
member this.DeleteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function DeleteAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
Parameters
- cancellationToken
- CancellationToken
The CancellationToken to monitor for cancellation requests. The default is None.
Returns
True if assistant definition has been deleted
Remarks
Assistant based agent will not be useable after deletion.