SearchModelFactory.KnowledgeBaseWebReference 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.
Initializes a new instance of KnowledgeBaseWebReference.
public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseWebReference KnowledgeBaseWebReference(string id = default, int activitySource = 0, System.Collections.Generic.IReadOnlyDictionary<string,object> sourceData = default, float? rerankerScore = default, Uri url = default, string title = default);
static member KnowledgeBaseWebReference : string * int * System.Collections.Generic.IReadOnlyDictionary<string, obj> * Nullable<single> * Uri * string -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseWebReference
Public Shared Function KnowledgeBaseWebReference (Optional id As String = Nothing, Optional activitySource As Integer = 0, Optional sourceData As IReadOnlyDictionary(Of String, Object) = Nothing, Optional rerankerScore As Nullable(Of Single) = Nothing, Optional url As Uri = Nothing, Optional title As String = Nothing) As KnowledgeBaseWebReference
Parameters
- id
- String
The ID of the reference.
- activitySource
- Int32
The source activity ID for the reference.
- sourceData
- IReadOnlyDictionary<String,Object>
Dictionary of <any>.
- url
- Uri
The url the reference data originated from.
- title
- String
The title of the web document.
Returns
A new KnowledgeBaseWebReference instance for mocking.