ICorDebugRemoteTarget 介面ICorDebugRemoteTarget Interface

提供可讓開發人員對通用語言執行平台 (CLR) 環境中的 Silverlight 應用程式進行偵錯的方法。Provides methods that enable developers to debug Silverlight-based applications in the common language runtime (CLR) environment.

SyntaxSyntax

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

方法Methods

方法Method 描述Description
ICorDebugRemoteTarget::GetHostName 方法ICorDebugRemoteTarget::GetHostName Method 傳回遠端電腦的主機名稱或 IP 位址。Returns the host name or the IP address of a remote machine.

備註Remarks

Windows 95、Windows 98、Windows ME 或非 x86 的平台 (例如 IA-64 和 AMD64) 不支援混合模式 (也就是 Managed 和機器碼) 偵錯。Mixed-mode (that is, managed and native code) debugging is not supported on Windows 95, Windows 98, or Windows ME, or on non-x86 platforms (such as IA-64 and AMD64).

規格需求Requirements

平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: Cordebug.h .idlHeader: CorDebug.idl

Library: : corguids.lib .libLibrary: : CorGuids.lib

.NET Framework 版本: 3.5 SP1.NET Framework Versions: 3.5 SP1

另請參閱See also