ReleasePhoneNumberOperation Class

Definition

Releases a purchased phone number.

public class ReleasePhoneNumberOperation : Azure.Operation
type ReleasePhoneNumberOperation = class
    inherit Operation
Public Class ReleasePhoneNumberOperation
Inherits Operation
Inheritance
System.Object
ReleasePhoneNumberOperation

Constructors

ReleasePhoneNumberOperation()

Initializes a new instance of ReleasePhoneNumberOperation 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.

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.

WaitForCompletionResponseAsync(CancellationToken)

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

WaitForCompletionResponseAsync(TimeSpan, CancellationToken)

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

Applies to