ICorDebugRemote, interface

Fournit la possibilité de lancer ou de joindre un débogueur managé à un processus distant cible.

Syntaxe

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  
      );  
};  

Méthodes

Méthode Description
ICorDebugRemote::CreateProcessEx, méthode Crée un processus sur un ordinateur distant pour le débogage managé.
ICorDebugRemote::DebugActiveProcessEx, méthode Lance un processus sur un ordinateur distant sous le débogueur.

Notes

Actuellement, cette fonctionnalité n’est prise en charge que pour le débogage d’une cible d’application basée sur Silverlight qui s’exécute sur un ordinateur Macintosh distant.

Spécifications

Plateformes : Consultez Configuration requise.

En-tête : CorDebug.idl, CorDebug.h

Bibliothèque : CorGuids.lib

Versions de .NET Framework : 4.5, 4, 3.5 SP1

Voir aussi