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

SchemaRegistryClient 构造函数

定义

重载

SchemaRegistryClient()

初始化 类的新实例, SchemaRegistryClient 以便在测试中使用模拟。

SchemaRegistryClient(String, TokenCredential)

初始化 SchemaRegistryClient 的新实例。

SchemaRegistryClient(String, TokenCredential, SchemaRegistryClientOptions)

初始化 SchemaRegistryClient 的新实例。

SchemaRegistryClient()

Source:
SchemaRegistryClient.cs
Source:
SchemaRegistryClient.cs

初始化 类的新实例, SchemaRegistryClient 以便在测试中使用模拟。

protected SchemaRegistryClient ();
Protected Sub New ()

注解

此构造函数存在只是为了支持模拟。 使用时,类状态未完全初始化,并且将无法正常运行;虚拟成员旨在被模拟。

适用于

SchemaRegistryClient(String, TokenCredential)

Source:
SchemaRegistryClient.cs
Source:
SchemaRegistryClient.cs

初始化 SchemaRegistryClient 的新实例。

public SchemaRegistryClient (string fullyQualifiedNamespace, Azure.Core.TokenCredential credential);
new Azure.Data.SchemaRegistry.SchemaRegistryClient : string * Azure.Core.TokenCredential -> Azure.Data.SchemaRegistry.SchemaRegistryClient
Public Sub New (fullyQualifiedNamespace As String, credential As TokenCredential)

参数

fullyQualifiedNamespace
String
credential
TokenCredential

适用于

SchemaRegistryClient(String, TokenCredential, SchemaRegistryClientOptions)

Source:
SchemaRegistryClient.cs
Source:
SchemaRegistryClient.cs

初始化 SchemaRegistryClient 的新实例。

public SchemaRegistryClient (string fullyQualifiedNamespace, Azure.Core.TokenCredential credential, Azure.Data.SchemaRegistry.SchemaRegistryClientOptions options);
new Azure.Data.SchemaRegistry.SchemaRegistryClient : string * Azure.Core.TokenCredential * Azure.Data.SchemaRegistry.SchemaRegistryClientOptions -> Azure.Data.SchemaRegistry.SchemaRegistryClient
Public Sub New (fullyQualifiedNamespace As String, credential As TokenCredential, options As SchemaRegistryClientOptions)

参数

fullyQualifiedNamespace
String
credential
TokenCredential

适用于