C# Class Microsoft.R.Debugger.PortSupplier.RDebugPortSupplier

Inheritance: IDebugPortSupplier2, IDebugPortSupplierDescription2
Datei anzeigen Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
AddPort ( IDebugPortRequest2 pRequest, IDebugPort2 &ppPort ) : int
CanAddPort ( ) : int
EnumPorts ( IEnumDebugPorts2 &ppEnum ) : int
GetDescription ( enum_PORT_SUPPLIER_DESCRIPTION_FLAGS pdwFlags, string &pbstrText ) : int
GetExecutableForAttach ( uint processId ) : string

Returns a string that is suitable for use with VsDebugTargetInfo2.bstrExe when attaching to an R process.

Both VsDebugTargetInfo2.bstrExe and VsDebugTargetInfo2.dwProcessId must be filled for attach to be successful, even though they contain duplicate data.

GetPort ( System.Guid &guidPort, IDebugPort2 &ppPort ) : int
GetPortSupplierId ( System.Guid &pguidPortSupplier ) : int
GetPortSupplierName ( string &pbstrName ) : int
GetProcessId ( int sessionId ) : uint
RDebugPortSupplier ( ) : System
RemovePort ( IDebugPort2 pPort ) : int

Method Details

AddPort() public method

public AddPort ( IDebugPortRequest2 pRequest, IDebugPort2 &ppPort ) : int
pRequest IDebugPortRequest2
ppPort IDebugPort2
return int

CanAddPort() public method

public CanAddPort ( ) : int
return int

EnumPorts() public method

public EnumPorts ( IEnumDebugPorts2 &ppEnum ) : int
ppEnum IEnumDebugPorts2
return int

GetDescription() public method

public GetDescription ( enum_PORT_SUPPLIER_DESCRIPTION_FLAGS pdwFlags, string &pbstrText ) : int
pdwFlags enum_PORT_SUPPLIER_DESCRIPTION_FLAGS
pbstrText string
return int

GetExecutableForAttach() public static method

Returns a string that is suitable for use with VsDebugTargetInfo2.bstrExe when attaching to an R process.
Both VsDebugTargetInfo2.bstrExe and VsDebugTargetInfo2.dwProcessId must be filled for attach to be successful, even though they contain duplicate data.
public static GetExecutableForAttach ( uint processId ) : string
processId uint /// Process ID for the R session to attach to. This should be the same value as used for . ///
return string

GetPort() public method

public GetPort ( System.Guid &guidPort, IDebugPort2 &ppPort ) : int
guidPort System.Guid
ppPort IDebugPort2
return int

GetPortSupplierId() public method

public GetPortSupplierId ( System.Guid &pguidPortSupplier ) : int
pguidPortSupplier System.Guid
return int

GetPortSupplierName() public method

public GetPortSupplierName ( string &pbstrName ) : int
pbstrName string
return int

GetProcessId() public static method

public static GetProcessId ( int sessionId ) : uint
sessionId int
return uint

RDebugPortSupplier() public method

public RDebugPortSupplier ( ) : System
return System

RemovePort() public method

public RemovePort ( IDebugPort2 pPort ) : int
pPort IDebugPort2
return int