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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET