TextModeration(ContentModeratorClient) Constructor

Definition

Initializes a new instance of the TextModeration class.

public TextModeration (Microsoft.Azure.CognitiveServices.ContentModerator.ContentModeratorClient client);
new Microsoft.Azure.CognitiveServices.ContentModerator.TextModeration : Microsoft.Azure.CognitiveServices.ContentModerator.ContentModeratorClient -> Microsoft.Azure.CognitiveServices.ContentModerator.TextModeration
Public Sub New (client As ContentModeratorClient)

Parameters

client
ContentModeratorClient

Reference to the service client.

Exceptions

System.ArgumentNullException

Thrown when a required parameter is null

Applies to