Proprietà Debugger3.Transports
Ottiene una raccolta di trasporti di debug supportati.
Spazio dei nomi: EnvDTE90
Assembly: EnvDTE90 (in EnvDTE90.dll)
Sintassi
'Dichiarazione
ReadOnly Property Transports As Transports
Transports Transports { get; }
property Transports^ Transports {
Transports^ get ();
}
abstract Transports : Transports with get
function get Transports () : Transports
Valore proprietà
Tipo: Transports
Raccolta Transports.
Note
Il primo membro della raccolta è sempre il trasporto "Predefinito." Si tratta del trasporto destinato al debug locale che, tuttavia, può essere utilizzato anche per il debug remoto, purché il computer remoto sia stato configurato correttamente.
Esempi
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
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.