次の方法で共有


IDebugPortPicker

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

Represents a customized UI for selecting the port.

Syntax

IDebugPortPicker : IUnknown

Notes for Implementers

This interface is implemented by port suppliers. A port supplier defines their port picker by exposing it as a CLSID and pointing the metricPortPickerCLSID metric at the exposed CLSID.

Methods

The following table shows the methods of IDebugPortPicker.

Method Description
DisplayPortPicker Displays the specified dialog box that allows the user to select a port.
SetSite Sets the service provider.

Requirements

Header: Msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll