Share via


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

  • runId
    Type: Guid

    The GUID identifier for the test run.

  • timeout
    Type: TimeSpan

    The 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

See Also

Reference

ExecutionUtilities Class

Microsoft.VisualStudio.TestTools.Execution Namespace

DebugOperationResult