Bagikan melalui


TimeoutAttribute Kelas

Definisi

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class TimeoutAttribute : NUnit.Framework.PropertyAttribute, NUnit.Framework.Internal.IApplyToContext
type TimeoutAttribute = class
    inherit PropertyAttribute
    interface IApplyToContext
Warisan
Atribut
Penerapan

Konstruktor

TimeoutAttribute(Int32)

Properti

Properties

Mendapatkan kamus properti untuk atribut ini

(Diperoleh dari PropertyAttribute)

Metode

ApplyToTest(Test) (Diperoleh dari PropertyAttribute)

Implementasi Antarmuka Eksplisit

IApplyToContext.ApplyToContext(TestExecutionContext)

Berlaku untuk