共用方式為


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)

適用於