private TestStartTimeProperty_OSX ( ) : void | ||
Результат | void |
public void TestStartTimeProperty_OSX()
{
using (Process p = Process.GetCurrentProcess())
{
ProcessThreadCollection threads = p.Threads;
Assert.NotNull(threads);
Assert.NotEmpty(threads);
ProcessThread thread = threads[0];
Assert.NotNull(thread);
Assert.Throws<PlatformNotSupportedException>(() => thread.StartTime);
}
}