TraceSourceScope Класс

Определение

Внимание!

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

Предоставляет интерфейс IDisposable, представляющий область логической операции на основе 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
Наследование
TraceSourceScope
Атрибуты
Реализации

Конструкторы

TraceSourceScope(Object)

Передает состояние в LogicalOperationStack путем вызова StartLogicalOperation(Object) .

Методы

Dispose()

Выводит состояние LogicalOperationStack путем вызова StopLogicalOperation() .

Equals(Object)

Определяет, равен ли указанный объект текущему объекту.

(Унаследовано от Object)
GetHashCode()

Служит хэш-функцией по умолчанию.

(Унаследовано от Object)
GetType()

Возвращает объект Type для текущего экземпляра.

(Унаследовано от Object)
MemberwiseClone()

Создает неполную копию текущего объекта Object.

(Унаследовано от Object)
ToString()

Возвращает строку, представляющую текущий объект.

(Унаследовано от Object)

Применяется к