Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the RunStateEvent class by using the provided test run ID, state, and computer name.
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 _
)
public RunStateEvent(
Guid runId,
RunState newState,
string computer
)
public:
RunStateEvent(
Guid runId,
RunState newState,
String^ computer
)
new :
runId:Guid *
newState:RunState *
computer:string -> RunStateEvent
public function RunStateEvent(
runId : Guid,
newState : RunState,
computer : String
)
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.
.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.