Share via


Debugger3.Transports Property

Gets a collection of supported debugging transports.

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

Syntax

'Declaration
ReadOnly Property Transports As Transports
Transports Transports { get; }
property Transports^ Transports {
    Transports^ get ();
}
abstract Transports : Transports with get
function get Transports () : Transports

Property Value

Type: EnvDTE80.Transports
A Transports collection.

Remarks

The first member of the collection is always the "Default" transport. This transport is the one used for local debugging, but it can also be used for remote debugging if the remote computer has been correctly configured.

Examples

Sub ShowTransports()
    Dim dbg As EnvDTE90.Debugger3
    dbg = DTE2.Debugger
    Dim strTransportList As String
    Dim transport As EnvDTE80.Transport

    For Each transport In dbg.Transports
        strTransportList = strTransportList + transport.Name + ", " + _
        transport.ID + NewLine
    Next
    MsgBox(strTransportList)
End Sub

.NET Framework Security

See Also

Reference

Debugger3 Interface

EnvDTE90 Namespace