ExecutionUtilities.DebugTarget Method
Requests a debug operation for a test.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public Shared Function DebugTarget ( _
sink As IResultSink, _
runId As Guid, _
targetInfo As DebugTargetInfo, _
timeout As TimeSpan _
) As DebugOperationResult
public static DebugOperationResult DebugTarget(
IResultSink sink,
Guid runId,
DebugTargetInfo targetInfo,
TimeSpan timeout
)
public:
static DebugOperationResult^ DebugTarget(
IResultSink^ sink,
Guid runId,
DebugTargetInfo^ targetInfo,
TimeSpan timeout
)
static member DebugTarget :
sink:IResultSink *
runId:Guid *
targetInfo:DebugTargetInfo *
timeout:TimeSpan -> DebugOperationResult
public static function DebugTarget(
sink : IResultSink,
runId : Guid,
targetInfo : DebugTargetInfo,
timeout : TimeSpan
) : DebugOperationResult
Parameters
sink
Type: Microsoft.VisualStudio.TestTools.Execution.IResultSinkThe IResultSink to which you send the debug request.
runId
Type: GuidThe GUID identifier for the test run.
targetInfo
Type: Microsoft.VisualStudio.TestTools.Common.DebugTargetInfoA DebugTargetInfo object that contains information about the debug operation.
timeout
Type: TimeSpanThe TimeSpan to wait for the debugger to perform the debug operation.
Return Value
Type: Microsoft.VisualStudio.TestTools.Common.DebugOperationResult
A DebugOperationResult object that contains the result of the debug operation.
.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.