Share via


SchemaRegistryClient Constructors

Definition

Overloads

SchemaRegistryClient()

Initializes a new instance of the SchemaRegistryClient class for mocking use in testing.

SchemaRegistryClient(String, TokenCredential)

Initializes a new instance of the SchemaRegistryClient.

SchemaRegistryClient(String, TokenCredential, SchemaRegistryClientOptions)

Initializes a new instance of the SchemaRegistryClient.

SchemaRegistryClient()

Source:
SchemaRegistryClient.cs
Source:
SchemaRegistryClient.cs

Initializes a new instance of the SchemaRegistryClient class for mocking use in testing.

protected SchemaRegistryClient ();
Protected Sub New ()

Remarks

This constructor exists only to support mocking. When used, class state is not fully initialized, and will not function correctly; virtual members are meant to be mocked.

Applies to

SchemaRegistryClient(String, TokenCredential)

Source:
SchemaRegistryClient.cs
Source:
SchemaRegistryClient.cs

Initializes a new instance of the 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)

Parameters

fullyQualifiedNamespace
String
credential
TokenCredential

Applies to

SchemaRegistryClient(String, TokenCredential, SchemaRegistryClientOptions)

Source:
SchemaRegistryClient.cs
Source:
SchemaRegistryClient.cs

Initializes a new instance of the 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)

Parameters

fullyQualifiedNamespace
String
credential
TokenCredential

Applies to