ICorDebugRemoteTarget 接口

介绍能够让开发人员在公共语言运行时 (CLR) 环境中调试基于 Silverlight 的应用程序的方法。

语法

interface ICorDebugRemoteTarget  : IUnknown  
{  
    HRESULT GetHostName (  
        [in]  ULONG32                    cchHostName,  
        [out] ULONG32*                   pcchHostName,  
        [out, size_is(cchHostName),  
              length_is(*pcchHostName)]  
                  WCHAR szHostName[]  
        );  
};  

方法

方法 说明
ICorDebugRemoteTarget::GetHostName 方法 返回远程计算机的主机名或 IP 地址。

备注

非 x86 平台(如 IA-64 和 AMD64)不支持混合模式(即托管代码和本机代码)调试。

要求

平台:请参阅系统要求

标头:CorDebug.idl

库:CorGuids.lib

.NET framework 版本:3.5 SP1

请参阅