ILoggingSession.SaveToFileAsync(IStorageFolder, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Save the current logging session to a file.
public:
IAsyncOperation<StorageFile ^> ^ SaveToFileAsync(IStorageFolder ^ folder, Platform::String ^ fileName);
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StorageFile> SaveToFileAsync(IStorageFolder const& folder, winrt::hstring const& fileName);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StorageFile> SaveToFileAsync(IStorageFolder folder, string fileName);
function saveToFileAsync(folder, fileName)
Public Function SaveToFileAsync (folder As IStorageFolder, fileName As String) As IAsyncOperation(Of StorageFile)
Parameters
- folder
- IStorageFolder
The folder to save the log file in.
- fileName
-
String
Platform::String
winrt::hstring
The name of the file.
Returns
When this method completes, it returns the new file as a StorageFile.
- Attributes