Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FileLogTraceListener::Close Method ()

 

Closes the underlying stream for the current log file and releases any resources associated with the current stream.

Namespace:   Microsoft.VisualBasic.Logging
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public:
[HostProtectionAttribute(SecurityAction::LinkDemand, Synchronization = true)]
virtual void Close() override

You do not need to call the Close method explicitly, because the FileLogTraceListener class manages the underlying steam.

.NET Framework
Available since 2.0
Return to top
Show: