TraceSourceScope Kelas
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.
Perhatian
This type is obsolete and will be removed in a future version. This type is part of TraceSource logger implementation and shouldn't be used directly
Menyediakan IDisposable yang mewakili cakupan operasi logis berdasarkan System.Diagnostics LogicalOperationStack.
public ref class TraceSourceScope : IDisposable
public class TraceSourceScope : IDisposable
[System.Obsolete("This type is obsolete and will be removed in a future version. This type is part of TraceSource logger implementation and shouldn't be used directly")]
public class TraceSourceScope : IDisposable
type TraceSourceScope = class
interface IDisposable
[<System.Obsolete("This type is obsolete and will be removed in a future version. This type is part of TraceSource logger implementation and shouldn't be used directly")>]
type TraceSourceScope = class
interface IDisposable
Public Class TraceSourceScope
Implements IDisposable
- Warisan
-
TraceSourceScope
- Atribut
- Penerapan
Konstruktor
TraceSourceScope(Object) |
Kedaluwarsa.
Mendorong status ke LogicalOperationStack dengan memanggil StartLogicalOperation(Object). |
Metode
Dispose() |
Kedaluwarsa.
Memunculkan status dari LogicalOperationStack dengan memanggil StopLogicalOperation(). |
Equals(Object) |
Kedaluwarsa.
Menentukan apakah objek yang ditentukan sama dengan objek saat ini. (Diperoleh dari Object) |
GetHashCode() |
Kedaluwarsa.
Berfungsi sebagai fungsi hash default. (Diperoleh dari Object) |
GetType() |
Kedaluwarsa.
Mendapatkan instans Type saat ini. (Diperoleh dari Object) |
MemberwiseClone() |
Kedaluwarsa.
Membuat salinan dangkal dari yang saat ini Object. (Diperoleh dari Object) |
ToString() |
Kedaluwarsa.
Mengembalikan string yang mewakili objek saat ini. (Diperoleh dari Object) |
Berlaku untuk
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk