Udostępnij za pośrednictwem


PurchasePhoneNumbersOperation Class

Definition

Releases a purchased phone number.

public class PurchasePhoneNumbersOperation : Azure.Operation
type PurchasePhoneNumbersOperation = class
    inherit Operation
Public Class PurchasePhoneNumbersOperation
Inherits Operation
Inheritance
PurchasePhoneNumbersOperation

Constructors

PurchasePhoneNumbersOperation()

Initializes a new instance of PurchasePhoneNumbersOperation for mocking.

Properties

HasCompleted

Returns true if the long-running operation completed.

Id

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

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)

Calls the server to get updated status of the long-running operation.

UpdateStatusAsync(CancellationToken)

Calls the server to get updated status of the long-running operation.

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.

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.

Applies to