System.Diagnostics.TraceListener.Dispose C# (CSharp) 메소드

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void
        public void Dispose()
        {
            Dispose(true);
            GC.SuppressFinalize(this);
        }

Same methods

TraceListener::Dispose ( bool disposing ) : void

Usage Example

예제 #1
0
파일: TraceLog.cs 프로젝트: netnutch/Core2D
        public void Close()
        {
            try
            {
                SD.Trace.Flush();

                if (_listener is { })
                {
                    _listener.Dispose();
                    _listener = null;
                }

                if (_stream is { })
All Usage Examples Of System.Diagnostics.TraceListener::Dispose