Share via


ExternalDebugging.RegisterExternalDebugHost Method (IExternalDebugHost, String)

Registers a debugging channel between the host and Visual Studio Tools for Applications. 

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

Syntax

'Declaration
Public Shared Function RegisterExternalDebugHost ( _
    host As IExternalDebugHost, _
    hostName As String _
) As String
'Usage
Dim host As IExternalDebugHost 
Dim hostName As String 
Dim returnValue As String 

returnValue = ExternalDebugging.RegisterExternalDebugHost(host, _
    hostName)

Parameters

  • hostName
    Type: System.String

    The name of the Visual Studio Tools for Applications host.

Return Value

Type: System.String
The debugging channel uniform resource identifier.

Remarks

Use ExternalDebugging.RegisterExternalDebugHost to implement non-destructive debugging that uses an existing instance of the host application.

.NET Framework Security

See Also

Reference

ExternalDebugging Class

ExternalDebugging Members

RegisterExternalDebugHost Overload

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace