Open sandboxFocus

Method WaitForSyncPointReachedAsync

WaitForSyncPointReachedAsync(string, CancellationToken)

Called by test code. Waits until the code under test reaches the named sync point. Also enables the sync point if not already enabled.

Declaration
public Task WaitForSyncPointReachedAsync(string syncPointName, CancellationToken cancellationToken)
Parameters
Type Name Description
string syncPointName

The name of the sync point to wait for.

CancellationToken cancellationToken

Cancellation token.

Returns
Type Description
Task