ICorDebugRemoteTarget 接口

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

Syntax

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

Methods

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

注解

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

要求

平台: 请参阅 .NET 支持的作系统

页眉: CorDebug.idl

库: :CorGuids.lib

.NET 版本: 3.5 SP1

另请参阅