DiscoveryTasksClient.AddExecutionHistory Method

Definition

Overloads

Name Description
AddExecutionHistory(String, String, String, ExecutionHistoryEntry, CancellationToken)

Add an execution history entry to a task.

AddExecutionHistory(String, String, String, RequestContent, RequestContext)

[Protocol Method] Add an execution history entry to a task.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

AddExecutionHistory(String, String, String, ExecutionHistoryEntry, CancellationToken)

Source:
DiscoveryTasksClient.cs

Add an execution history entry to a task.

public virtual Azure.Response<Azure.AI.Discovery.DiscoveryTask> AddExecutionHistory(string projectName, string investigationName, string taskName, Azure.AI.Discovery.ExecutionHistoryEntry body, System.Threading.CancellationToken cancellationToken = default);
abstract member AddExecutionHistory : string * string * string * Azure.AI.Discovery.ExecutionHistoryEntry * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Discovery.DiscoveryTask>
override this.AddExecutionHistory : string * string * string * Azure.AI.Discovery.ExecutionHistoryEntry * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Discovery.DiscoveryTask>
Public Overridable Function AddExecutionHistory (projectName As String, investigationName As String, taskName As String, body As ExecutionHistoryEntry, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DiscoveryTask)

Parameters

projectName
String

The project name.

investigationName
String

The investigation name.

taskName
String

The task name.

body
ExecutionHistoryEntry

Execution history entry to add.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

projectName, investigationName, taskName or body is null.

projectName, investigationName or taskName is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

AddExecutionHistory(String, String, String, RequestContent, RequestContext)

Source:
DiscoveryTasksClient.cs

[Protocol Method] Add an execution history entry to a task.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response AddExecutionHistory(string projectName, string investigationName, string taskName, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member AddExecutionHistory : string * string * string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.AddExecutionHistory : string * string * string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function AddExecutionHistory (projectName As String, investigationName As String, taskName As String, content As RequestContent, Optional context As RequestContext = Nothing) As Response

Parameters

projectName
String

The project name.

investigationName
String

The investigation name.

taskName
String

The task name.

content
RequestContent

The content to send as the body of the request.

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

projectName, investigationName, taskName or content is null.

projectName, investigationName or taskName is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to