IExternalDebugHost.OnDebugAttachFailed Method (String)

 

Performs any cleanup operations after debugging attach fails.

Namespace:   Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications (in Microsoft.VisualStudio.Tools.Applications.dll)

Syntax

void OnDebugAttachFailed(
    string projectId
)
void OnDebugAttachFailed(
    String^ projectId
)
abstract OnDebugAttachFailed : 
        projectId:string -> unit
Sub OnDebugAttachFailed (
    projectId As String
)

Parameters

  • projectId
    Type: System.String

    project ID of the project to which the attach failed.

Remarks

Possible reasons for attach failures include the OnBeforeStartDebugging call failing on the Host side, the Host providing an invalid processId to attach to, or the Host providing an unmanaged process to attach to.

See Also

IExternalDebugHost Interface
Microsoft.VisualStudio.Tools.Applications Namespace

Return to top