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
파일 보기 프로젝트 열기: garyjohnson/wpnest

공개 메소드들

메소드 설명
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