ICorDebugRemote 介面ICorDebugRemote Interface

提供啟動或附加 Managed 偵錯工具至遠端目標處理序的功能。Provides the ability to launch or attach a managed debugger to a remote target process.

SyntaxSyntax

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

方法Method 描述Description
ICorDebugRemote::CreateProcessEx 方法ICorDebugRemote::CreateProcessEx Method 在遠端電腦上建立處理 managed 偵錯工具。Creates a process on a remote machine for managed debugging.
ICorDebugRemote::DebugActiveProcessEx 方法ICorDebugRemote::DebugActiveProcessEx Method 在偵錯工具下啟動遠端電腦上的處理常式。Launches a process on a remote machine under the debugger.

備註Remarks

目前,只有在遠端 Macintosh 電腦上執行的 Silverlight 應用程式目標進行偵錯工具時,才支援這項功能。Currently, this functionality is supported only for debugging a Silverlight-based application target that is running on a remote Macintosh machine.

規格需求Requirements

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

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本: 4.5、4、3.5 SP1.NET Framework Versions: 4.5, 4, 3.5 SP1

另請參閱See also