TimeoutAttribute 类

定义

[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
继承
属性
实现

构造函数

TimeoutAttribute(Int32)

属性

Properties

获取此属性的属性字典

(继承自 PropertyAttribute)

方法

ApplyToTest(Test) (继承自 PropertyAttribute)

显式接口实现

IApplyToContext.ApplyToContext(TestExecutionContext)

适用于