TeamsClient.CreateSectionAsync(CreateSectionInput, CancellationToken) Method

Definition

Create a section

public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.SectionResponse> CreateSectionAsync(Azure.Connectors.Sdk.Teams.Models.CreateSectionInput input, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateSectionAsync : Azure.Connectors.Sdk.Teams.Models.CreateSectionInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.SectionResponse>
override this.CreateSectionAsync : Azure.Connectors.Sdk.Teams.Models.CreateSectionInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.SectionResponse>
Public Overridable Function CreateSectionAsync (input As CreateSectionInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SectionResponse)

Parameters

input
CreateSectionInput

The request body.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Create a section response.

Remarks

Creates a new teamwork section for the current user

Applies to