MaxTimeAttribute public sealed class MaxTimeAttribute : PropertyAttribute, IWrapSetUpTearDown, ICommandWrapper Specifies the maximum time (in milliseconds) for a test case to succeed. Documentation Code public MaxTimeAttribute(int milliseconds) Construct a MaxTimeAttribute, given a time in milliseconds.