Freigeben über


Transport Interface

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

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

Syntax

'Declaration
<GuidAttribute("C977EAED-9E6C-4122-9D28-9D5EAE2BDC33")> _
Public Interface Transport
[GuidAttribute("C977EAED-9E6C-4122-9D28-9D5EAE2BDC33")]
public interface Transport
[GuidAttribute(L"C977EAED-9E6C-4122-9D28-9D5EAE2BDC33")]
public interface class Transport
[<GuidAttribute("C977EAED-9E6C-4122-9D28-9D5EAE2BDC33")>]
type Transport =  interface end
public interface Transport

The Transport type exposes the following members.

Properties

  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.

Top

Examples

' 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

See Also

Reference

EnvDTE80 Namespace

Transports