Freigeben über


SearchModelFactory.KnowledgeBaseWebActivityArguments Method

Definition

Initializes a new instance of KnowledgeBaseWebActivityArguments.

public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseWebActivityArguments KnowledgeBaseWebActivityArguments(string search = default, string language = default, string market = default, int? count = default, string freshness = default);
static member KnowledgeBaseWebActivityArguments : string * string * string * Nullable<int> * string -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseWebActivityArguments
Public Shared Function KnowledgeBaseWebActivityArguments (Optional search As String = Nothing, Optional language As String = Nothing, Optional market As String = Nothing, Optional count As Nullable(Of Integer) = Nothing, Optional freshness As String = Nothing) As KnowledgeBaseWebActivityArguments

Parameters

search
String

The search string used to query the web.

language
String

The language for the retrieval activity.

market
String

The market for the retrieval activity.

count
Nullable<Int32>

The number of web results returned.

freshness
String

The freshness for the retrieval activity.

Returns

A new KnowledgeBaseWebActivityArguments instance for mocking.

Applies to