TestResultMessage.Duration Property

Definition

Gets or sets the time that was spent to execute the associated test or test run.

public:
 property TimeSpan Duration { TimeSpan get(); void set(TimeSpan value); };
[Microsoft.VisualStudio.TestTools.Common.TestCaseManagementDisplayName(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestResultMessage_Duration")]
[Microsoft.VisualStudio.TestTools.Common.UserVisibleProperty("{F4B15960-1C11-46ce-8D5F-29D89E484CF7}")]
[System.ComponentModel.ReadOnly(true)]
public TimeSpan Duration { get; set; }
[<Microsoft.VisualStudio.TestTools.Common.TestCaseManagementDisplayName(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestResultMessage_Duration")>]
[<Microsoft.VisualStudio.TestTools.Common.UserVisibleProperty("{F4B15960-1C11-46ce-8D5F-29D89E484CF7}")>]
[<System.ComponentModel.ReadOnly(true)>]
member this.Duration : TimeSpan with get, set
Public Property Duration As TimeSpan

Property Value

The time that was spent to execute the test or test run.

Attributes

Applies to