ContentSafetyModelFactory.TextBlocklistMatch(String, String, 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.
Initializes a new instance of TextBlocklistMatch.
public static Azure.AI.ContentSafety.TextBlocklistMatch TextBlocklistMatch (string blocklistName = default, string blocklistItemId = default, string blocklistItemText = default);
static member TextBlocklistMatch : string * string * string -> Azure.AI.ContentSafety.TextBlocklistMatch
Public Shared Function TextBlocklistMatch (Optional blocklistName As String = Nothing, Optional blocklistItemId As String = Nothing, Optional blocklistItemText As String = Nothing) As TextBlocklistMatch
Parameters
- blocklistName
- String
The name of the matched blocklist.
- blocklistItemId
- String
The ID of the matched item.
- blocklistItemText
- String
The content of the matched item.
Returns
A new TextBlocklistMatch instance for mocking.
Exceptions
blocklistName
, blocklistItemId
or blocklistItemText
is null.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET