你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContentSafetyClientOptions(ContentSafetyClientOptions+ServiceVersion) 构造函数

定义

初始化 ContentSafetyClientOptions 的新实例。

public ContentSafetyClientOptions (Azure.AI.ContentSafety.ContentSafetyClientOptions.ServiceVersion version = Azure.AI.ContentSafety.ContentSafetyClientOptions+ServiceVersion.V2023_10_01);
public ContentSafetyClientOptions (Azure.AI.ContentSafety.ContentSafetyClientOptions.ServiceVersion version = Azure.AI.ContentSafety.ContentSafetyClientOptions+ServiceVersion.V2023_04_30_Preview);
new Azure.AI.ContentSafety.ContentSafetyClientOptions : Azure.AI.ContentSafety.ContentSafetyClientOptions.ServiceVersion -> Azure.AI.ContentSafety.ContentSafetyClientOptions
Public Sub New (Optional version As ContentSafetyClientOptions.ServiceVersion = Azure.AI.ContentSafety.ContentSafetyClientOptions+ServiceVersion.V2023_10_01)
Public Sub New (Optional version As ContentSafetyClientOptions.ServiceVersion = Azure.AI.ContentSafety.ContentSafetyClientOptions+ServiceVersion.V2023_04_30_Preview)

参数

适用于