你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AzureAccountsExtensions.AssignToAppAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AssignToAppAsync(IAzureAccounts, Guid, AzureAccountInfoObject, CancellationToken) | |
AssignToAppAsync(IAzureAccounts, Guid, String, AzureAccountInfoObject, CancellationToken) |
AssignToAppAsync(IAzureAccounts, Guid, AzureAccountInfoObject, CancellationToken)
- Source:
- AzureAccountsExtensions.cs
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.OperationStatus> AssignToAppAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IAzureAccounts operations, Guid appId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.AzureAccountInfoObject azureAccountInfoObject = default, System.Threading.CancellationToken cancellationToken = default);
static member AssignToAppAsync : Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IAzureAccounts * Guid * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.AzureAccountInfoObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.OperationStatus>
<Extension()>
Public Function AssignToAppAsync (operations As IAzureAccounts, appId As Guid, Optional azureAccountInfoObject As AzureAccountInfoObject = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OperationStatus)
参数
- operations
- IAzureAccounts
- appId
- Guid
- azureAccountInfoObject
- AzureAccountInfoObject
- cancellationToken
- CancellationToken
返回
适用于
AssignToAppAsync(IAzureAccounts, Guid, String, AzureAccountInfoObject, CancellationToken)
- Source:
- AzureAccountsExtensions.cs
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.OperationStatus> AssignToAppAsync (this Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IAzureAccounts operations, Guid appId, string armToken = default, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.AzureAccountInfoObject azureAccountInfoObject = default, System.Threading.CancellationToken cancellationToken = default);
static member AssignToAppAsync : Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.IAzureAccounts * Guid * string * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.AzureAccountInfoObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.OperationStatus>
<Extension()>
Public Function AssignToAppAsync (operations As IAzureAccounts, appId As Guid, Optional armToken As String = Nothing, Optional azureAccountInfoObject As AzureAccountInfoObject = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OperationStatus)
参数
- operations
- IAzureAccounts
- appId
- Guid
- armToken
- String
- azureAccountInfoObject
- AzureAccountInfoObject
- cancellationToken
- CancellationToken