Click or drag to resize
PublicIPWaitUntilDeletedAsync Method
Waits for the public IP address to be removed from the current account.

Namespace: Rackspace.RackConnect.v3
Assembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntax
public Task WaitUntilDeletedAsync(
	Nullable<TimeSpan> refreshDelay = null,
	Nullable<TimeSpan> timeout = null,
	IProgress<bool> progress = null,
	CancellationToken cancellationToken = null
)

Parameters

refreshDelay (Optional)
Type: SystemNullableTimeSpan
The amount of time to wait between requests.
timeout (Optional)
Type: SystemNullableTimeSpan
The amount of time to wait before throwing a TimeoutException.
progress (Optional)
Type: SystemIProgressBoolean
The progress callback.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value

Type: Task
Exceptions
ExceptionCondition
InvalidOperationExceptionWhen the PublicIP instance was not constructed by the RackConnectService, as it is missing the appropriate internal state to execute service calls.
TimeoutExceptionIf the timeout value is reached.
FlurlHttpExceptionIf the API call returns a bad HttpStatusCode.
See Also