Share via


TerminateJobOperation Class

Definition

Upon success a Job will be terminated

public class TerminateJobOperation : Azure.Operation<bool>
type TerminateJobOperation = class
    inherit Operation<bool>
Public Class TerminateJobOperation
Inherits Operation(Of Boolean)
Inheritance
TerminateJobOperation

Constructors

TerminateJobOperation()

Initializes a new TerminateJobOperation instance for mocking.

TerminateJobOperation(BatchClient, String)

Initializes a new TerminateJobOperation 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 is the success of the operation.

Id

Gets an ID representing the operation that can be used to poll for the status of the long-running operation. There are cases that operation id is not available, we return "NOT_SET" for unavailable operation id.

Value

Get the sucess state of the termination operation

Methods

GetRawResponse()

The last HTTP response received from the server.

UpdateStatus(CancellationToken)

Check for the latest status of the terminate operation.

UpdateStatusAsync(CancellationToken)

Check for the latest status of the terminate operation.

Applies to