Dela via


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
'Usage
Dim instance As Transport
[GuidAttribute("C977EAED-9E6C-4122-9D28-9D5EAE2BDC33")]
public interface Transport
[GuidAttribute(L"C977EAED-9E6C-4122-9D28-9D5EAE2BDC33")]
public interface class Transport
public interface Transport

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

Transport Members

EnvDTE80 Namespace

Transports