| PublicIPWaitUntilActiveAsync Method |
Waits for the public IP address to become active.
Namespace: Rackspace.RackConnect.v3Assembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntax public Task WaitUntilActiveAsync(
Nullable<TimeSpan> refreshDelay = null,
Nullable<TimeSpan> timeout = null,
IProgress<bool> progress = null,
CancellationToken cancellationToken = null
)
Public Function WaitUntilActiveAsync (
Optional refreshDelay As Nullable(Of TimeSpan) = Nothing,
Optional timeout As Nullable(Of TimeSpan) = Nothing,
Optional progress As IProgress(Of Boolean) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
Task^ WaitUntilActiveAsync(
Nullable<TimeSpan> refreshDelay = nullptr,
Nullable<TimeSpan> timeout = nullptr,
IProgress<bool>^ progress = nullptr,
CancellationToken cancellationToken = nullptr
)
member WaitUntilActiveAsync :
?refreshDelay : Nullable<TimeSpan> *
?timeout : Nullable<TimeSpan> *
?progress : IProgress<bool> *
?cancellationToken : CancellationToken
(* Defaults:
let _refreshDelay = defaultArg refreshDelay null
let _timeout = defaultArg timeout null
let _progress = defaultArg progress null
let _cancellationToken = defaultArg cancellationToken null
*)
-> Task
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:
TaskExceptions See Also