TeamsClient.CreateSectionAsync(CreateSectionInput, 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.
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