共用方式為


CustomBlocklistConfig Class

Definition

Gets or sets the source to which filter applies.

public class CustomBlocklistConfig : Azure.ResourceManager.CognitiveServices.Models.RaiBlocklistConfig, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.CustomBlocklistConfig>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.CustomBlocklistConfig>
type CustomBlocklistConfig = class
    inherit RaiBlocklistConfig
    interface IJsonModel<CustomBlocklistConfig>
    interface IPersistableModel<CustomBlocklistConfig>
Public Class CustomBlocklistConfig
Inherits RaiBlocklistConfig
Implements IJsonModel(Of CustomBlocklistConfig), IPersistableModel(Of CustomBlocklistConfig)
Inheritance
CustomBlocklistConfig
Implements

Constructors

CustomBlocklistConfig()

Initializes a new instance of CustomBlocklistConfig.

Properties

Blocking

If blocking would occur.

(Inherited from RaiBlocklistConfig)
BlocklistName

Name of ContentFilter.

(Inherited from RaiBlocklistConfig)
Source

Content source to apply the Content Filters.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CustomBlocklistConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CustomBlocklistConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<RaiBlocklistConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from RaiBlocklistConfig)
IJsonModel<RaiBlocklistConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from RaiBlocklistConfig)
IPersistableModel<CustomBlocklistConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CustomBlocklistConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CustomBlocklistConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<RaiBlocklistConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from RaiBlocklistConfig)
IPersistableModel<RaiBlocklistConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from RaiBlocklistConfig)
IPersistableModel<RaiBlocklistConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from RaiBlocklistConfig)

Applies to