Condividi tramite


LoggingSession.SaveToFileAsync(IStorageFolder, String) Metodo

Definizione

Salva la sessione di registrazione corrente in un file.

public:
 virtual IAsyncOperation<StorageFile ^> ^ SaveToFileAsync(IStorageFolder ^ folder, Platform::String ^ fileName) = SaveToFileAsync;
/// [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)

Parametri

folder
IStorageFolder

Cartella contenente il file di log.

fileName
String

Platform::String

winrt::hstring

Nome del file di log.

Restituisce

Al termine di questo metodo, restituisce il nuovo file come StorageFile.

Implementazioni

M:Windows.Foundation.Diagnostics.ILoggingSession.SaveToFileAsync(Windows.Storage.IStorageFolder,System.String) M:Windows.Foundation.Diagnostics.ILoggingSession.SaveToFileAsync(Windows.Storage.IStorageFolder,Platform::String) M:Windows.Foundation.Diagnostics.ILoggingSession.SaveToFileAsync(Windows.Storage.IStorageFolder,winrt::hstring)
Attributi

Si applica a

Vedi anche