OutlookMailClientExperimentalGetFolderAsyncByDisplayName Method
Asynchronously gets a mailbox folder that satisfies the specified display name.
Namespace: DevCase.ThirdParty.MicrosoftLiveAssembly: DevCase.net48.ThirdParty.MicrosoftLive (in DevCase.net48.ThirdParty.MicrosoftLive.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public Task<IMailFolder> GetFolderAsyncByDisplayName(
string displayName
)
Public Function GetFolderAsyncByDisplayName (
displayName As String
) As Task(Of IMailFolder)
Dim instance As OutlookMailClientExperimental
Dim displayName As String
Dim returnValue As Task(Of IMailFolder)
returnValue = instance.GetFolderAsyncByDisplayName(displayName)
public:
Task<IMailFolder^>^ GetFolderAsyncByDisplayName(
String^ displayName
)
member GetFolderAsyncByDisplayName :
displayName : string -> Task<IMailFolder>
No code example is currently available or this language may not be supported.
- displayName String
-
The target mailbox folder display name.
TaskIMailFolder
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 outlookClient As New OutlookMailClient(Process.GetCurrentProcess.MainWindowHandle, "YOUR CLIENT ID", OutlookMailScopes.ReadWrite Or OutlookMailScopes.Send)
Await outlookClient.AuthorizeAsync()
Dim folder As IMailFolder = Await outlookClient.GetFolderAsyncByDisplayName("Bandeja de entrada")
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
|
|