Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Transport Interface 

Specifies the protocol the debugger uses to communicate to the machine owning the debuggee.

Namespace: EnvDTE80
Assembly: EnvDTE80 (in envdte80.dll)

[GuidAttribute("C977EAED-9E6C-4122-9D28-9D5EAE2BDC33")] 
public interface Transport
/** @attribute GuidAttribute("C977EAED-9E6C-4122-9D28-9D5EAE2BDC33") */ 
public interface Transport
GuidAttribute("C977EAED-9E6C-4122-9D28-9D5EAE2BDC33") 
public interface Transport

' Macro code.
Imports EnvDTE
Imports EnvDTE80
Imports System.Diagnostics
Imports Microsoft.VisualBasic.ControlChars

Public Module Module1

    Sub ShowTransports()
        Dim dbg As EnvDTE80.Debugger2
        dbg = DTE.Debugger
        Dim strTransportList As String
        Dim transport As EnvDTE80.Transport

        For Each transport In dbg.Transports
            strTransportList = strTransportList + transport.Name & ", _
            " & transport.ID & VbCr
        Next
        MsgBox(strTransportList)
    End Sub
End Module
Show:
© 2015 Microsoft