Partager via


ICorDebugRemote, interface

Permet de lancer ou d’attacher un débogueur managé à un processus cible distant.

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 Descriptif
ICorDebugRemote ::CreateProcessEx, méthode Crée un processus sur une machine distante pour le débogage managé.
ICorDebugRemote ::D ebugActiveProcessEx, méthode Lance un processus sur un ordinateur distant sous le débogueur.

Remarques

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

Spécifications

Plates-formes: Consultez les systèmes d’exploitation pris en charge par .NET.

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

Bibliothèque: CorGuids.lib

Versions .NET : 4.5, 4, 3.5 SP1

Voir aussi