共用方式為


IDebugPortPicker

Represents a customized UI for selecting the port.

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

IDebugPortPicker::DisplayPortPicker

Displays the specified dialog box that allows the user to select a port.

IDebugPortPicker::SetSite

Sets the service provider.

Requirements

Header: Msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll