TeamsClient.GetSectionAsync(String, CancellationToken) 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 section
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.SectionResponse> GetSectionAsync(string sectionId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.SectionResponse>
override this.GetSectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.SectionResponse>
Public Overridable Function GetSectionAsync (sectionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SectionResponse)
Parameters
- sectionId
- String
Section ID
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get a section response.
Remarks
Gets a specific teamwork section by ID