Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes an instance of the TestStateEvent class by using the provided run identifier, execution identifier, state, and time stamp.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub New ( _
runId As Guid, _
execId As Guid, _
newState As TestState, _
timestamp As DateTime _
)
public TestStateEvent(
Guid runId,
Guid execId,
TestState newState,
DateTime timestamp
)
public:
TestStateEvent(
Guid runId,
Guid execId,
TestState newState,
DateTime timestamp
)
new :
runId:Guid *
execId:Guid *
newState:TestState *
timestamp:DateTime -> TestStateEvent
public function TestStateEvent(
runId : Guid,
execId : Guid,
newState : TestState,
timestamp : DateTime
)
Parameters
runId
Type: GuidA Guid that uniquely identifies the test run.
execId
Type: GuidA Guid that uniquely identifies the execution.
newState
Type: Microsoft.VisualStudio.TestTools.Common.TestStateA member of the TestState enumeration that indicates the state of the test.
timestamp
Type: DateTimeThe date and time when the state of the test run was changed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.