Bagikan melalui


TraceDisplayMode Enum

Definisi

Menentukan urutan di mana pesan pelacakan ditampilkan.

public enum class TraceDisplayMode
public enum TraceDisplayMode
type TraceDisplayMode = 
Public Enum TraceDisplayMode
Warisan
TraceDisplayMode

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.

Berlaku untuk

Lihat juga