Click or drag to resize
RackConnectServiceExtensionsWaitUntilPublicIPIsActive Method
Waits for the public IP address to become active.

Namespace: Rackspace.Synchronous
Assembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntax
public static PublicIP WaitUntilPublicIPIsActive(
	this RackConnectService rackConnectService,
	Identifier publicIPId,
	Nullable<TimeSpan> refreshDelay = null,
	Nullable<TimeSpan> timeout = null,
	IProgress<bool> progress = null
)

Parameters

rackConnectService
Type: Rackspace.RackConnect.v3RackConnectService
publicIPId
Type: RackspaceIdentifier
The public IP address identifier.
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.

Return Value

Type: PublicIP

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type RackConnectService. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
TimeoutExceptionIf the timeout value is reached.
FlurlHttpExceptionIf the API call returns a bad HttpStatusCode.
See Also