Debugger2.Transports Property
Gets a collection of supported debugging transports.
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.dll)
Syntax
'Declaration
ReadOnly Property Transports As Transports
'Usage
Dim instance As Debugger2
Dim value As Transports
value = instance.Transports
Transports Transports { get; }
property Transports^ Transports {
Transports^ get ();
}
function get Transports () : Transports
Property Value
Type: EnvDTE80.Transports
A Transports collection.
Remarks
Transport(1) 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 properly configured.
Examples
Sub ShowTransports()
Dim dbg As EnvDTE80.Debugger2
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.