SearchModelFactory.KnowledgeBaseMessageContent(String) 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.
Specifies the type of the message content. Please note this is the abstract base class. The derived classes available for instantiation are: KnowledgeBaseMessageTextContent and KnowledgeBaseMessageImageContent.
public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseMessageContent KnowledgeBaseMessageContent(string type = default);
static member KnowledgeBaseMessageContent : string -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseMessageContent
Public Shared Function KnowledgeBaseMessageContent (Optional type As String = Nothing) As KnowledgeBaseMessageContent
Parameters
- type
- String
The type of the message.
Returns
A new KnowledgeBaseMessageContent instance for mocking.