TeamsClient.GetSectionAsync(String, CancellationToken) Method

Definition

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

Applies to