Share via


Transport Interface

Definition

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

public interface class Transport
public interface class Transport
__interface Transport
[System.Runtime.InteropServices.Guid("C977EAED-9E6C-4122-9D28-9D5EAE2BDC33")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface Transport
[System.Runtime.InteropServices.Guid("C977EAED-9E6C-4122-9D28-9D5EAE2BDC33")]
public interface Transport
[<System.Runtime.InteropServices.Guid("C977EAED-9E6C-4122-9D28-9D5EAE2BDC33")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type Transport = interface
[<System.Runtime.InteropServices.Guid("C977EAED-9E6C-4122-9D28-9D5EAE2BDC33")>]
type Transport = interface
Public Interface Transport
Attributes

Examples

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  

Properties

Collection

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

DTE

Gets the top-level extensibility object.

Engines

Gets the Engines collection.

ID

Gets the ID of the Transport as a GUID.

Name

Gets or sets the name of the Transport object.

Parent

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

Applies to