共用方式為


ContextDTO Constructors

Definition

Overloads

ContextDTO()
ContextDTO(Nullable<Boolean>, IList<PromptDTO>)

ContextDTO()

Source:
ContextDTO.cs
public ContextDTO ();
Public Sub New ()

Applies to

ContextDTO(Nullable<Boolean>, IList<PromptDTO>)

Source:
ContextDTO.cs
public ContextDTO (bool? isContextOnly = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.PromptDTO> prompts = default);
new Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.ContextDTO : Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.PromptDTO> -> Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.ContextDTO
Public Sub New (Optional isContextOnly As Nullable(Of Boolean) = Nothing, Optional prompts As IList(Of PromptDTO) = Nothing)

Parameters

isContextOnly
Nullable<Boolean>
prompts
IList<PromptDTO>

Applies to