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

FarmBeatsClient 构造函数

定义

重载

FarmBeatsClient()

初始化 FarmBeatsClient 的新实例进行模拟。

FarmBeatsClient(TokenCredential)

初始化 FarmBeatsClient 的新实例。

FarmBeatsClient(TokenCredential, Uri, FarmBeatsClientOptions)

初始化 FarmBeatsClient 的新实例。

FarmBeatsClient()

Source:
FarmBeatsClient.cs

初始化 FarmBeatsClient 的新实例进行模拟。

protected FarmBeatsClient ();
Protected Sub New ()

适用于

FarmBeatsClient(TokenCredential)

Source:
FarmBeatsClient.cs

初始化 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)

参数

credential
TokenCredential

用于向 Azure 服务进行身份验证的凭据。

例外

credential 为 null。

适用于

FarmBeatsClient(TokenCredential, Uri, FarmBeatsClientOptions)

Source:
FarmBeatsClient.cs

初始化 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)

参数

credential
TokenCredential

用于向 Azure 服务进行身份验证的凭据。

endpoint
Uri

服务器参数。

options
FarmBeatsClientOptions

用于配置客户端的选项。

例外

credentialendpoint 为 null。

适用于