Condividi tramite


PersonalizerCreateEvaluationOperation Class

Definition

An Operation<T> for tracking the status of a CreatePersonalizerEvaluationAsync(PersonalizerEvaluationOptions, CancellationToken) request. Its Value upon successful completion will be the completed personalizer evaluation.

public class PersonalizerCreateEvaluationOperation : Azure.Operation<Azure.AI.Personalizer.PersonalizerEvaluation>
type PersonalizerCreateEvaluationOperation = class
    inherit Operation<PersonalizerEvaluation>
Public Class PersonalizerCreateEvaluationOperation
Inherits Operation(Of PersonalizerEvaluation)
Inheritance
PersonalizerCreateEvaluationOperation

Constructors

PersonalizerCreateEvaluationOperation()

Initializes a new PersonalizerCreateEvaluationOperation instance for mocking.

PersonalizerCreateEvaluationOperation(String, PersonalizerAdministrationClient)

Initializes a new PersonalizerCreateEvaluationOperation instance.

Properties

HasCompleted

Gets a value indicating whether the operation has completed.

HasValue

Gets a value indicating whether the operation completed and successfully produced a value. The Value property completed evaluation.

Id

Gets an ID representing the operation that can be used to poll for the status of the long-running operation.

Value

Gets the personalizer evaluation.

Methods

GetRawResponse()

The last HTTP response received from the server.

GetRehydrationToken()

Get a token that can be used to rehydrate the operation.

(Inherited from Operation)
UpdateStatus(CancellationToken)

Check for the latest status of the personalizer evaluation.

UpdateStatusAsync(CancellationToken)

Check for the latest status of the personalizer evaluation.

WaitForCompletion(CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation<T>)
WaitForCompletion(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation<T>)
WaitForCompletion(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation<T>)
WaitForCompletionAsync(CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionAsync(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation<T>)
WaitForCompletionAsync(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

WaitForCompletionResponse(CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponse(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponse(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponseAsync(CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponseAsync(DelayStrategy, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)
WaitForCompletionResponseAsync(TimeSpan, CancellationToken)

Periodically calls the server till the long-running operation completes.

(Inherited from Operation)

Applies to