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

NameDescription
System_CAPS_pubpropertyCollection

Gets the Transports collection to which this Transport object belongs (if any).

System_CAPS_pubpropertyDTE

Gets the top-level extensibility object.

System_CAPS_pubpropertyEngines

Gets the Engines collection.

System_CAPS_pubpropertyID

Gets the ID of the Transport as a GUID.

System_CAPS_pubpropertyName

Gets or sets the name of the Transport object.

System_CAPS_pubpropertyParent

Gets the immediate parent object of a Transport object, in this case, a Debugger2 object.

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
Return to top
Show: