C# Класс Microsoft.Silverlight.Testing.Harness.SleepWorkItem

Test work item type that does not complete until the sleep time has elapsed. This is NOT a blocking Sleep.
Наследование: WorkItem
Показать файл Открыть проект

Открытые методы

Метод Описание
Invoke ( ) : bool

On the first time, will calculate the final DateTime. Otherwise, null operation (returns) until that time.

SleepWorkItem ( System.TimeSpan delay ) : System

Create a new Sleep work item, including the number of milliseconds to wait until continuing.

Описание методов

Invoke() публичный Метод

On the first time, will calculate the final DateTime. Otherwise, null operation (returns) until that time.
public Invoke ( ) : bool
Результат bool

SleepWorkItem() публичный Метод

Create a new Sleep work item, including the number of milliseconds to wait until continuing.
public SleepWorkItem ( System.TimeSpan delay ) : System
delay System.TimeSpan Amount of time to wait/delay.
Результат System