LoggingSession.SaveToFileAsync(IStorageFolder, String) LoggingSession.SaveToFileAsync(IStorageFolder, String) LoggingSession.SaveToFileAsync(IStorageFolder, String) LoggingSession.SaveToFileAsync(IStorageFolder, String) LoggingSession.SaveToFileAsync(IStorageFolder, String) Method

Definition

Saves the current logging session to a file.

public : IAsyncOperation<StorageFile> SaveToFileAsync(IStorageFolder folder, Platform::String fileName)
IAsyncOperation<StorageFile> SaveToFileAsync(IStorageFolder folder, winrt::hstring fileName) const;
public IAsyncOperation<StorageFile> SaveToFileAsync(IStorageFolder folder, String fileName)
Public Function SaveToFileAsync(folder As IStorageFolder, fileName As String) As IAsyncOperation(Of StorageFile)
Windows.Foundation.Diagnostics.LoggingSession.saveToFileAsync(folder, fileName).done( /* Your success and error handlers */ );

Parameters

folder
IStorageFolder IStorageFolder IStorageFolder

The folder that contains the log file.

fileName
String String String

The name of the log file.

Returns

See also