FarmBeatsClient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET