FileLoggingSession.LogFileClosed | logfileclosed event

Raised when the logging session is closed.

Syntax

function onLogFileClosed(eventArgs) { /* Your code */ }
 
// addEventListener syntax
fileLoggingSession.addEventListener("logfileclosed", onLogFileClosed);
fileLoggingSession.removeEventListener("logfileclosed", onLogFileClosed);
 
- or -

fileLoggingSession.onlogfileclosed = onLogFileClosed;
public event TypedEventHandler<FileLoggingSession, LogFileClosedEventArgs> LogFileClosed
Public Event LogFileClosed As TypedEventHandler(Of FileLoggingSession, LogFileClosedEventArgs)
public:
event TypedEventHandler<FileLoggingSession, LogFileClosedEventArgs>^ LogFileClosed {
   Windows::Foundation::EventRegistrationToken add(TypedEventHandler<FileLoggingSession, LogFileClosedEventArgs>^ value);
   void remove(Windows::Foundation::EventRegistrationToken token);
}

Event information

Delegate TypedEventHandler<FileLoggingSession, LogFileClosedEventArgs>

Remarks

Handle the LogFileClosed event to save the log file to an app-defined location.

Requirements

Minimum supported client

Windows 8.1 Preview

Minimum supported server

Windows Server 2012 R2 Preview

Namespace

Windows.Foundation.Diagnostics Windows::Foundation::Diagnostics [C++]

Metadata

Windows.winmd

See also

FileLoggingSession

 

 

Build date: 8/16/2013