Class AsyncUrlRedirectAwaiter
Inheritance
AsyncUrlRedirectAwaiter
Syntax
public class AsyncUrlRedirectAwaiter : IUrlRedirectAwaiter
Constructors
AsyncUrlRedirectAwaiter(Int32, Int32)
Declaration
public AsyncUrlRedirectAwaiter(int refreshDelay = 500, int timeoutDelay = 600000)
Parameters
Type |
Name |
Description |
Int32 |
refreshDelay |
|
Int32 |
timeoutDelay |
|
AsyncUrlRedirectAwaiter(ITimeAwaiter, Int32, Int32)
Declaration
public AsyncUrlRedirectAwaiter(ITimeAwaiter awaiter, int refreshDelay = 500, int timeoutDelay = 600000)
Parameters
Properties
HasResult
Declaration
public bool HasResult { get; }
Property Value
Implements
HasTimedOut
Declaration
public bool HasTimedOut { get; }
Property Value
Implements
RedirectResult
Declaration
public UrlRedirectResult? RedirectResult { get; }
Property Value
Implements
RefreshDelay
Declaration
public int RefreshDelay { get; set; }
Property Value
Implements
TimeoutDelay
Declaration
public int TimeoutDelay { get; set; }
Property Value
Implements
Methods
BeginWait()
Declaration
Implements
SetResult(Nullable<UrlRedirectResult>)
Declaration
public void SetResult(UrlRedirectResult? result)
Parameters
Implements
WaitForRefreshAsync(CancellationToken)
Declaration
public async Task WaitForRefreshAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Returns
Implements