Process.Attach Method
Causes the debugger to attach this process.
Assembly: EnvDTE (in EnvDTE.dll)
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.