IDebugProcessSecurity

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

IDebugProcessSecurity is implemented by a port supplier to warn the user that attaching to the process is unsafe.

Syntax

IDebugProcessSecurity : IUnknown

Methods in Vtable Order

The following table shows the methods of IDebugProcessSecurity.

Method Description
GetUserName Gets the user name from the port supplier.
QueryCanSafelyAttach Warns a user that attaching to the debugging process is unsafe.

Remarks

Implement this interface to show a warning and allow the user to cancel if the process to which you are attaching can be considered unsafe.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also