LimitTokenFilter Constructors
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.
Overloads
LimitTokenFilter() |
Initializes a new instance of the LimitTokenFilter class. |
LimitTokenFilter(String, Nullable<Int32>, Nullable<Boolean>) |
Initializes a new instance of the LimitTokenFilter class. |
LimitTokenFilter()
- Source:
- LimitTokenFilter.cs
Initializes a new instance of the LimitTokenFilter class.
public LimitTokenFilter ();
Public Sub New ()
Applies to
LimitTokenFilter(String, Nullable<Int32>, Nullable<Boolean>)
- Source:
- LimitTokenFilter.cs
Initializes a new instance of the LimitTokenFilter class.
public LimitTokenFilter (string name, int? maxTokenCount = default, bool? consumeAllTokens = default);
new Microsoft.Azure.Search.Models.LimitTokenFilter : string * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Search.Models.LimitTokenFilter
Public Sub New (name As String, Optional maxTokenCount As Nullable(Of Integer) = Nothing, Optional consumeAllTokens As Nullable(Of Boolean) = Nothing)
Parameters
- name
- String
The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.
A value indicating whether all tokens from the input must be consumed even if maxTokenCount is reached. Default is false.
Applies to
Azure SDK for .NET