GmailClientGetFolderAsyncByKnownId Method
Asynchronously gets a mailbox folder that satisfies the specified known Id.
Namespace: DevCase.ThirdParty.Google.GmailAssembly: DevCase.net48.ThirdParty.GoogleServices (in DevCase.net48.ThirdParty.GoogleServices.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
Public Function GetFolderAsyncByKnownId (
knownId As GmailFolderIds
) As Task(Of Label)
Dim instance As GmailClient
Dim knownId As GmailFolderIds
Dim returnValue As Task(Of Label)
returnValue = instance.GetFolderAsyncByKnownId(knownId)
public:
Task<Label^>^ GetFolderAsyncByKnownId(
GmailFolderIds knownId
)
member GetFolderAsyncByKnownId :
knownId : GmailFolderIds -> Task<Label>
No code example is currently available or this language may not be supported.
- knownId GmailFolderIds
-
A known mailbox folder id.
TaskLabel
The resulting
TaskTResult that represents the mailbox folder.
This is a code example.
No code example is currently available or this language may not be supported.
Dim client As New GmailClient("C:\GoogleSecrets.json", "yourmail@gmail.com", GmailScopes.ReadOnly Or GmailScopes.Modify Or GmailScopes.Send)
Dim credential As UserCredential = Await client.AuthorizeAsync()
Dim folder As Google.Apis.Gmail.v1.Data.Label = Await client.GetFolderAsyncByKnownId(GmailFolderIds.Inbox)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
InvalidOperationException
|
|