EmailPlugin.GetEmailMessagesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get email messages with specified optional clauses used to query for messages.
[Microsoft.SemanticKernel.KernelFunction]
public System.Threading.Tasks.Task<string> GetEmailMessagesAsync(int? maxResults = 10, int? skip = 0, System.Threading.CancellationToken cancellationToken = default);
[<Microsoft.SemanticKernel.KernelFunction>]
member this.GetEmailMessagesAsync : Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetEmailMessagesAsync (Optional maxResults As Nullable(Of Integer) = 10, Optional skip As Nullable(Of Integer) = 0, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)
Parameters
- cancellationToken
- CancellationToken
Returns
- Attributes