Condividi tramite


ILoggingSession.SaveToFileAsync(IStorageFolder, String) Metodo

Definizione

Salvare la sessione di registrazione corrente in un 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)

Parametri

folder
IStorageFolder

Cartella in cui salvare il file di log.

fileName
String

Platform::String

winrt::hstring

Nome del file.

Restituisce

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

Attributi

Si applica a