TraceDisplayMode Enum
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menentukan urutan di mana pesan pelacakan ditampilkan.
public enum class TraceDisplayMode
public enum TraceDisplayMode
type TraceDisplayMode =
Public Enum TraceDisplayMode
- Warisan
Bidang
| Nama | Nilai | Deskripsi |
|---|---|---|
| SortByTime | 1 | Keluarkan pesan jejak sesuai urutan pemrosesannya. |
| SortByCategory | 2 | Keluarkan pesan pelacakan menurut abjad menurut kategori. |
Contoh
Contoh kode berikut menunjukkan cara menggunakan TraceMode properti . Contoh kode ini adalah bagian dari contoh yang lebih besar yang disediakan untuk TraceSection kelas .
// Get the current Mode property value.
// TraceDisplayMode modeValue = traceSection.TraceMode;
// Set the Mode property to TraceDisplayMode.SortyByTime.
// traceSection.Mode = TraceDisplayMode.SortByTime;
' Get the current Mode property value.
'Dim modeValue As TraceDisplayMode = traceSection.TraceMode
' Set the Mode property to TraceDisplayMode.SortByTime.
'traceSection.Mode = TraceDisplayMode.SortByTime
Keterangan
Enumerasi ini menentukan nilai yang dapat Anda gunakan saat mengatur TraceMode properti.