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 a new instance of the RunStateEvent class by using the provided test run ID, state, computer name, 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, _
newState As RunState, _
computer As String, _
timestamp As DateTime _
)
public RunStateEvent(
Guid runId,
RunState newState,
string computer,
DateTime timestamp
)
public:
RunStateEvent(
Guid runId,
RunState newState,
String^ computer,
DateTime timestamp
)
new :
runId:Guid *
newState:RunState *
computer:string *
timestamp:DateTime -> RunStateEvent
public function RunStateEvent(
runId : Guid,
newState : RunState,
computer : String,
timestamp : DateTime
)
Parameters
runId
Type: GuidThe GUID for the associated test run.
newState
Type: Microsoft.VisualStudio.TestTools.Common.RunStateOne of the RunState values.
computer
Type: StringThe name of the computer that requested the state change.
timestamp
Type: DateTimeThe date and time of the request for state change.
.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.