Delen via


FarmBeatsClient Constructors

Definition

Overloads

FarmBeatsClient()

Initializes a new instance of FarmBeatsClient for mocking.

FarmBeatsClient(TokenCredential)

Initializes a new instance of FarmBeatsClient.

FarmBeatsClient(TokenCredential, Uri, FarmBeatsClientOptions)

Initializes a new instance of FarmBeatsClient.

FarmBeatsClient()

Source:
FarmBeatsClient.cs

Initializes a new instance of FarmBeatsClient for mocking.

protected FarmBeatsClient ();
Protected Sub New ()

Applies to

FarmBeatsClient(TokenCredential)

Source:
FarmBeatsClient.cs

Initializes a new instance of FarmBeatsClient.

public FarmBeatsClient (Azure.Core.TokenCredential credential);
new Azure.Verticals.AgriFood.Farming.FarmBeatsClient : Azure.Core.TokenCredential -> Azure.Verticals.AgriFood.Farming.FarmBeatsClient
Public Sub New (credential As TokenCredential)

Parameters

credential
TokenCredential

A credential used to authenticate to an Azure Service.

Exceptions

credential is null.

Applies to

FarmBeatsClient(TokenCredential, Uri, FarmBeatsClientOptions)

Source:
FarmBeatsClient.cs

Initializes a new instance of FarmBeatsClient.

public FarmBeatsClient (Azure.Core.TokenCredential credential, Uri endpoint, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options);
new Azure.Verticals.AgriFood.Farming.FarmBeatsClient : Azure.Core.TokenCredential * Uri * Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions -> Azure.Verticals.AgriFood.Farming.FarmBeatsClient
Public Sub New (credential As TokenCredential, endpoint As Uri, options As FarmBeatsClientOptions)

Parameters

credential
TokenCredential

A credential used to authenticate to an Azure Service.

endpoint
Uri

server parameter.

options
FarmBeatsClientOptions

The options for configuring the client.

Exceptions

credential or endpoint is null.

Applies to