AIProjectRoutines.Delete(String, 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 a routine.
public virtual System.ClientModel.ClientResult Delete(string name, System.Threading.CancellationToken cancellationToken = default);
abstract member Delete : string * System.Threading.CancellationToken -> System.ClientModel.ClientResult
override this.Delete : string * System.Threading.CancellationToken -> System.ClientModel.ClientResult
Public Overridable Function Delete (name As String, Optional cancellationToken As CancellationToken = Nothing) As ClientResult
Parameters
- name
- String
The unique name of the routine.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
name is null.
name is an empty string, and was expected to be non-empty.
Service returned a non-success status code.