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