 | ImapSubscribeFolderAsync(String, CancellationToken) Method |
Subscribes user to specified folder.
Namespace: Limilabs.Client.IMAPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task SubscribeFolderAsync(
string folder,
CancellationToken cancel = default
)
Public Function SubscribeFolderAsync (
folder As String,
Optional cancel As CancellationToken = Nothing
) As Task
public:
Task^ SubscribeFolderAsync(
String^ folder,
CancellationToken cancel = CancellationToken()
)
member SubscribeFolderAsync :
folder : string *
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task Parameters
- folder String
- Folder name to subscribe to.
- cancel CancellationToken (Optional)
- A cancellation token that can be used to signal the asynchronous operation should be canceled.
Return Value
TaskA task that represents the asynchronous subscribe IMAP folder operation.
See Also