ImapClient.CreateFolderAsync

CreateFolderAsync(IConnection, string)

Creates a folder with the specified name

public Task CreateFolderAsync(IConnection connection, string folderName)
ParameterTypeDescription
connectionIConnectionConnection to a server
folderNameStringFolder to be created

Return Value

Task object, with delegate for this operation

See Also


CreateFolderAsync(string)

Creates a folder with the specified name

public Task CreateFolderAsync(string folderName)
ParameterTypeDescription
folderNameStringFolder to be created

Return Value

Task object, with delegate for this operation

See Also


CreateFolderAsync(IConnection, string, CancellationToken)

Creates a folder with the specified name

public Task CreateFolderAsync(IConnection connection, string folderName, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
folderNameStringFolder to be created
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


CreateFolderAsync(string, CancellationToken)

Creates a folder with the specified name

public Task CreateFolderAsync(string folderName, CancellationToken token)
ParameterTypeDescription
folderNameStringFolder to be created
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also