ContentSafetyModelFactory.TextBlocklistItem(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 TextBlocklistItem.
public static Azure.AI.ContentSafety.TextBlocklistItem TextBlocklistItem (string blocklistItemId = default, string description = default, string text = default);
static member TextBlocklistItem : string * string * string -> Azure.AI.ContentSafety.TextBlocklistItem
Public Shared Function TextBlocklistItem (Optional blocklistItemId As String = Nothing, Optional description As String = Nothing, Optional text As String = Nothing) As TextBlocklistItem
Parameters
- blocklistItemId
- String
The service will generate a BlocklistItemId, which will be a UUID.
- description
- String
BlocklistItem description.
- text
- String
BlocklistItem content.
Returns
A new TextBlocklistItem instance for mocking.
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