LoggingSession.SaveToFileAsync | saveToFileAsync method

Applies to Windows and Windows Phone

Saves the current logging session to a file.

Syntax


loggingSession.saveToFileAsync(folder, fileName).done( /* Your success and error handlers */ );

Parameters

folder

Type: IStorageFolder

The folder that contains the log file.

fileName

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The name of the log file.

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

LoggingChannel
LoggingSession

 

 

Show:
© 2014 Microsoft