Click or drag to resize
PublicIPExtensionsWaitUntilActive 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 void WaitUntilActive(
	this PublicIP publicIP,
	Nullable<TimeSpan> refreshDelay = null,
	Nullable<TimeSpan> timeout = null,
	IProgress<bool> progress = null
)

Parameters

publicIP
Type: Rackspace.RackConnect.v3PublicIP
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.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PublicIP. 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
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