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
public interface Transport
public interface class Transport
type Transport =  interface end
public interface Transport

The Transport type exposes the following members.


  Name Description
Public property Collection Gets the Transports collection to which this Transport object belongs (if any).
Public property DTE Gets the top-level extensibility object.
Public property Engines Gets the Engines collection.
Public property ID Gets the ID of the Transport as a GUID.
Public property Name Gets or sets the name of the Transport object.
Public property Parent Gets the immediate parent object of a Transport object, in this case, a Debugger2 object.



' 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
    End Sub
End Module

See Also


EnvDTE80 Namespace