Share via


FormRecognizerClient.AnalyzeWithCustomModelWithHttpMessagesAsync2 Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.AnalyzeResult>> AnalyzeWithCustomModelWithHttpMessagesAsync2 (Guid id, System.IO.Stream formStream, System.Collections.Generic.IList<string> keys = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default, string contentType = "application/pdf");
abstract member AnalyzeWithCustomModelWithHttpMessagesAsync2 : Guid * System.IO.Stream * System.Collections.Generic.IList<string> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken * string -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.AnalyzeResult>>
override this.AnalyzeWithCustomModelWithHttpMessagesAsync2 : Guid * System.IO.Stream * System.Collections.Generic.IList<string> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken * string -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.AnalyzeResult>>
Public Function AnalyzeWithCustomModelWithHttpMessagesAsync2 (id As Guid, formStream As Stream, Optional keys As IList(Of String) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing, Optional contentType As String = "application/pdf") As Task(Of HttpOperationResponse(Of AnalyzeResult))

Parameters

id
Guid
formStream
Stream
keys
IList<String>
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken
contentType
String

Returns

Implements

Applies to