FileLoggingSession.CloseAndSaveToFileAsync | closeAndSaveToFileAsync method

Applies to Windows and Windows Phone

Ends the current logging session and saves it to a file.

Syntax


fileLoggingSession.closeAndSaveToFileAsync().done( /* Your success and error handlers */ );

Parameters

This method has no parameters.

Return value

Type: IAsyncOperation<StorageFile>

When this method completes, it returns the new file as a StorageFile.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

See also

FileLoggingSession

 

 

Show:
© 2014 Microsoft. All rights reserved.