Office365GroupsMailClient.GetThreadAsync 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 a thread post
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Office365GroupsMail.Models.Post> GetThreadAsync(string groupId, string threadId, string postId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetThreadAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Office365GroupsMail.Models.Post>
override this.GetThreadAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Office365GroupsMail.Models.Post>
Public Overridable Function GetThreadAsync (groupId As String, threadId As String, postId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Post)
Parameters
- groupId
- String
Group ID
- threadId
- String
Thread ID
- postId
- String
Post ID
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get a thread post response.
Remarks
Retrieves a post in a specified thread.