MicrosoftFormsClient.GetQuestionsAsync(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 questions
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<System.Text.Json.JsonElement?>> GetQuestionsAsync(string formId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetQuestionsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Nullable<System.Text.Json.JsonElement>>>
override this.GetQuestionsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Nullable<System.Text.Json.JsonElement>>>
Public Overridable Function GetQuestionsAsync (formId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of List(Of Nullable(Of JsonElement)))
Parameters
- formId
- String
Form Id
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The list of questions for the specified form.
Remarks
Discovery method used to populate dynamic parameter values at design time.