Compartilhar via


EmailMailbox.TryMoveFolderAsync Método

Definição

Sobrecargas

TryMoveFolderAsync(String, String)

Tenta de forma assíncrona mover a pasta de email especificada.

TryMoveFolderAsync(String, String, String)

Tenta de forma assíncrona mover a pasta de email especificada e renomeá-la no processo.

TryMoveFolderAsync(String, String)

Tenta de forma assíncrona mover a pasta de email especificada.

public:
 virtual IAsyncOperation<bool> ^ TryMoveFolderAsync(Platform::String ^ folderId, Platform::String ^ newParentFolderId) = TryMoveFolderAsync;
/// [Windows.Foundation.Metadata.Overload("TryMoveFolderAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryMoveFolderAsync(winrt::hstring const& folderId, winrt::hstring const& newParentFolderId);
[Windows.Foundation.Metadata.Overload("TryMoveFolderAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryMoveFolderAsync(string folderId, string newParentFolderId);
function tryMoveFolderAsync(folderId, newParentFolderId)
Public Function TryMoveFolderAsync (folderId As String, newParentFolderId As String) As IAsyncOperation(Of Boolean)

Parâmetros

folderId
String

Platform::String

winrt::hstring

A pasta a ser movida.

newParentFolderId
String

Platform::String

winrt::hstring

O novo pai da pasta especificada no parâmetro folderId .

Retornos

Um valor booliano que indica se a movimentação foi bem-sucedida.

Atributos

Requisitos do Windows

Funcionalidades do aplicativo
email emailSystem

Confira também

Aplica-se a

TryMoveFolderAsync(String, String, String)

Tenta de forma assíncrona mover a pasta de email especificada e renomeá-la no processo.

public:
 virtual IAsyncOperation<bool> ^ TryMoveFolderAsync(Platform::String ^ folderId, Platform::String ^ newParentFolderId, Platform::String ^ newFolderName) = TryMoveFolderAsync;
/// [Windows.Foundation.Metadata.Overload("TryMoveFolderWithNewNameAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryMoveFolderAsync(winrt::hstring const& folderId, winrt::hstring const& newParentFolderId, winrt::hstring const& newFolderName);
[Windows.Foundation.Metadata.Overload("TryMoveFolderWithNewNameAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryMoveFolderAsync(string folderId, string newParentFolderId, string newFolderName);
function tryMoveFolderAsync(folderId, newParentFolderId, newFolderName)
Public Function TryMoveFolderAsync (folderId As String, newParentFolderId As String, newFolderName As String) As IAsyncOperation(Of Boolean)

Parâmetros

folderId
String

Platform::String

winrt::hstring

A pasta a ser movida.

newParentFolderId
String

Platform::String

winrt::hstring

O novo pai da pasta especificada no parâmetro folderId .

newFolderName
String

Platform::String

winrt::hstring

O nome da pasta no novo local.

Retornos

Um valor booliano que indica se a movimentação foi bem-sucedida.

Atributos

Requisitos do Windows

Funcionalidades do aplicativo
email emailSystem

Confira também

Aplica-se a