共用方式為


ICorDebugRemote 介面

提供啟動受控偵錯工具或將受控偵錯工具附加至遠端目標進程的功能。

語法

interface ICorDebugRemote : IUnknown
{
    HRESULT CreateProcessEx
      (
      [in] ICorDebugRemoteTarget *     pRemoteTarget,
      [in] LPCWSTR                     lpApplicationName,
      [in] LPWSTR                      lpCommandLine,
      [in] LPSECURITY_ATTRIBUTES       lpProcessAttributes,
      [in] LPSECURITY_ATTRIBUTES       lpThreadAttributes,
      [in] BOOL                        bInheritHandles,
      [in] DWORD                       dwCreationFlags,
      [in] PVOID                       lpEnvironment,
      [in] LPCWSTR                     lpCurrentDirectory,
      [in] LPSTARTUPINFOW              lpStartupInfo,
      [in] LPPROCESS_INFORMATION       lpProcessInformation,
      [in] CorDebugCreateProcessFlags  debuggingFlags,
      [out] ICorDebugProcess **        ppProcess
      );

    HRESULT DebugActiveProcessEx
      (
      [in] ICorDebugRemoteTarget *   pRemoteTarget,
      [in] DWORD                     dwProcessId,
      [in] BOOL                      fWin32Attach,
      [out] ICorDebugProcess **      ppProcess
      );
};

Methods

方法 Description
ICorDebugRemote::CreateProcessEx 方法 在遠端電腦上建立程序以進行受控偵錯。
ICorDebugRemote::D ebugActiveProcessEx 方法 在偵錯工具下的遠端電腦上啟動進程。

備註

目前,此功能僅支援偵錯在遠端 Macintosh 電腦上執行的 Silverlight 型應用程式目標。

需求

平台: 請參閱 .NET 支援的作業系統

標題: CorDebug.idl、CorDebug.h

圖書館: CorGuids.lib

.NET 版本: 4.5、4、3.5 SP1

另請參閱