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)
'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)
public static string RegisterExternalDebugHost(
IExternalDebugHost host,
string hostName
)
public:
static String^ RegisterExternalDebugHost(
IExternalDebugHost^ host,
String^ hostName
)
public static function RegisterExternalDebugHost(
host : IExternalDebugHost,
hostName : String
) : String
host
Type: Microsoft.VisualStudio.Tools.Applications.DesignTime.IExternalDebugHostThe debug host as the object that implements IExternalDebugHost.
hostName
Type: System.StringThe name of the Visual Studio Tools for Applications host.
Type: System.String
The debugging channel uniform resource identifier.
Use ExternalDebugging.RegisterExternalDebugHost to implement non-destructive debugging that uses an existing instance of the host application.
- 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.
RegisterExternalDebugHost Overload
Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace