-
Notifications
You must be signed in to change notification settings - Fork 255
/
OperationExtensions.xml
259 lines (259 loc) · 25.6 KB
/
OperationExtensions.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<Type Name="OperationExtensions" FullName="Azure.AI.FormRecognizer.OperationExtensions">
<TypeSignature Language="C#" Value="public static class OperationExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit OperationExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Azure.AI.FormRecognizer.OperationExtensions" />
<TypeSignature Language="VB.NET" Value="Public Module OperationExtensions" />
<TypeSignature Language="F#" Value="type OperationExtensions = class" />
<AssemblyInfo>
<AssemblyName>Azure.AI.FormRecognizer</AssemblyName>
<AssemblyVersion>3.0.1.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>3.1.1.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
The set of extension methods for the subclasses of <see cref="T:Azure.Operation`1" />.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="WaitForCompletionAsync">
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.RecognizedFormCollection>> WaitForCompletionAsync (this System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeBusinessCardsOperation> operation, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1<class Azure.Response`1<class Azure.AI.FormRecognizer.Models.RecognizedFormCollection>> WaitForCompletionAsync(class System.Threading.Tasks.Task`1<class Azure.AI.FormRecognizer.Models.RecognizeBusinessCardsOperation> operation, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync(System.Threading.Tasks.Task{Azure.AI.FormRecognizer.Models.RecognizeBusinessCardsOperation},System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function WaitForCompletionAsync (operation As Task(Of RecognizeBusinessCardsOperation), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RecognizedFormCollection))" />
<MemberSignature Language="F#" Value="static member WaitForCompletionAsync : System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeBusinessCardsOperation> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.RecognizedFormCollection>>" Usage="Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync (operation, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.AI.FormRecognizer</AssemblyName>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.RecognizedFormCollection>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="operation" Type="System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeBusinessCardsOperation>" RefType="this" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="operation">The instance that this method was invoked on.</param>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> controlling the request lifetime.</param>
<summary>
Periodically calls the server until the long-running operation completes.
</summary>
<returns>A <see cref="T:Azure.Response`1" /> representing the result of the operation. It can be cast to a <see cref="T:System.Collections.Generic.IReadOnlyList`1" />
containing the recognized business cards.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="WaitForCompletionAsync">
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.FormPageCollection>> WaitForCompletionAsync (this System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeContentOperation> operation, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1<class Azure.Response`1<class Azure.AI.FormRecognizer.Models.FormPageCollection>> WaitForCompletionAsync(class System.Threading.Tasks.Task`1<class Azure.AI.FormRecognizer.Models.RecognizeContentOperation> operation, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync(System.Threading.Tasks.Task{Azure.AI.FormRecognizer.Models.RecognizeContentOperation},System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function WaitForCompletionAsync (operation As Task(Of RecognizeContentOperation), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FormPageCollection))" />
<MemberSignature Language="F#" Value="static member WaitForCompletionAsync : System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeContentOperation> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.FormPageCollection>>" Usage="Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync (operation, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.AI.FormRecognizer</AssemblyName>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.FormPageCollection>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="operation" Type="System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeContentOperation>" RefType="this" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="operation">The instance that this method was invoked on.</param>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> controlling the request lifetime.</param>
<summary>
Periodically calls the server until the long-running operation completes.
</summary>
<returns>A <see cref="T:Azure.Response`1" /> representing the result of the operation. It can be cast to a <see cref="T:System.Collections.Generic.IReadOnlyList`1" />
containing the recognized pages.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="WaitForCompletionAsync">
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.RecognizedFormCollection>> WaitForCompletionAsync (this System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeCustomFormsOperation> operation, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1<class Azure.Response`1<class Azure.AI.FormRecognizer.Models.RecognizedFormCollection>> WaitForCompletionAsync(class System.Threading.Tasks.Task`1<class Azure.AI.FormRecognizer.Models.RecognizeCustomFormsOperation> operation, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync(System.Threading.Tasks.Task{Azure.AI.FormRecognizer.Models.RecognizeCustomFormsOperation},System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function WaitForCompletionAsync (operation As Task(Of RecognizeCustomFormsOperation), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RecognizedFormCollection))" />
<MemberSignature Language="F#" Value="static member WaitForCompletionAsync : System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeCustomFormsOperation> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.RecognizedFormCollection>>" Usage="Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync (operation, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.AI.FormRecognizer</AssemblyName>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.RecognizedFormCollection>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="operation" Type="System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeCustomFormsOperation>" RefType="this" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="operation">The instance that this method was invoked on.</param>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> controlling the request lifetime.</param>
<summary>
Periodically calls the server until the long-running operation completes.
</summary>
<returns>A <see cref="T:Azure.Response`1" /> representing the result of the operation. It can be cast to a <see cref="T:System.Collections.Generic.IReadOnlyList`1" />
containing the recognized forms.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="WaitForCompletionAsync">
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.RecognizedFormCollection>> WaitForCompletionAsync (this System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeInvoicesOperation> operation, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1<class Azure.Response`1<class Azure.AI.FormRecognizer.Models.RecognizedFormCollection>> WaitForCompletionAsync(class System.Threading.Tasks.Task`1<class Azure.AI.FormRecognizer.Models.RecognizeInvoicesOperation> operation, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync(System.Threading.Tasks.Task{Azure.AI.FormRecognizer.Models.RecognizeInvoicesOperation},System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function WaitForCompletionAsync (operation As Task(Of RecognizeInvoicesOperation), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RecognizedFormCollection))" />
<MemberSignature Language="F#" Value="static member WaitForCompletionAsync : System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeInvoicesOperation> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.RecognizedFormCollection>>" Usage="Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync (operation, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.AI.FormRecognizer</AssemblyName>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.RecognizedFormCollection>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="operation" Type="System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeInvoicesOperation>" RefType="this" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="operation">The instance that this method was invoked on.</param>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> controlling the request lifetime.</param>
<summary>
Periodically calls the server until the long-running operation completes.
</summary>
<returns>A <see cref="T:Azure.Response`1" /> representing the result of the operation. It can be cast to a <see cref="T:System.Collections.Generic.IReadOnlyList`1" />
containing the recognized business cards.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="WaitForCompletionAsync">
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.RecognizedFormCollection>> WaitForCompletionAsync (this System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation> operation, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1<class Azure.Response`1<class Azure.AI.FormRecognizer.Models.RecognizedFormCollection>> WaitForCompletionAsync(class System.Threading.Tasks.Task`1<class Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation> operation, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync(System.Threading.Tasks.Task{Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation},System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function WaitForCompletionAsync (operation As Task(Of RecognizeReceiptsOperation), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RecognizedFormCollection))" />
<MemberSignature Language="F#" Value="static member WaitForCompletionAsync : System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.RecognizedFormCollection>>" Usage="Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync (operation, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.AI.FormRecognizer</AssemblyName>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Models.RecognizedFormCollection>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="operation" Type="System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation>" RefType="this" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="operation">The instance that this method was invoked on.</param>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> controlling the request lifetime.</param>
<summary>
Periodically calls the server until the long-running operation completes.
</summary>
<returns>A <see cref="T:Azure.Response`1" /> representing the result of the operation. It can be cast to a <see cref="T:System.Collections.Generic.IReadOnlyList`1" />
containing the recognized receipts.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="WaitForCompletionAsync">
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Training.CustomFormModelInfo>> WaitForCompletionAsync (this System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Training.CopyModelOperation> operation, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1<class Azure.Response`1<class Azure.AI.FormRecognizer.Training.CustomFormModelInfo>> WaitForCompletionAsync(class System.Threading.Tasks.Task`1<class Azure.AI.FormRecognizer.Training.CopyModelOperation> operation, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync(System.Threading.Tasks.Task{Azure.AI.FormRecognizer.Training.CopyModelOperation},System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function WaitForCompletionAsync (operation As Task(Of CopyModelOperation), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CustomFormModelInfo))" />
<MemberSignature Language="F#" Value="static member WaitForCompletionAsync : System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Training.CopyModelOperation> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Training.CustomFormModelInfo>>" Usage="Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync (operation, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.AI.FormRecognizer</AssemblyName>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Training.CustomFormModelInfo>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="operation" Type="System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Training.CopyModelOperation>" RefType="this" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="operation">The instance that this method was invoked on.</param>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> controlling the request lifetime.</param>
<summary>
Periodically calls the server until the long-running operation completes.
</summary>
<returns>A <see cref="T:Azure.Response`1" /> representing the result of the operation. It can be cast to a <see cref="T:Azure.AI.FormRecognizer.Training.CustomFormModelInfo" />
containing meta-data about the trained model.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="WaitForCompletionAsync">
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Training.CustomFormModel>> WaitForCompletionAsync (this System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Training.CreateComposedModelOperation> operation, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1<class Azure.Response`1<class Azure.AI.FormRecognizer.Training.CustomFormModel>> WaitForCompletionAsync(class System.Threading.Tasks.Task`1<class Azure.AI.FormRecognizer.Training.CreateComposedModelOperation> operation, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync(System.Threading.Tasks.Task{Azure.AI.FormRecognizer.Training.CreateComposedModelOperation},System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function WaitForCompletionAsync (operation As Task(Of CreateComposedModelOperation), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CustomFormModel))" />
<MemberSignature Language="F#" Value="static member WaitForCompletionAsync : System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Training.CreateComposedModelOperation> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Training.CustomFormModel>>" Usage="Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync (operation, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.AI.FormRecognizer</AssemblyName>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Training.CustomFormModel>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="operation" Type="System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Training.CreateComposedModelOperation>" RefType="this" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="operation">The instance that this method was invoked on.</param>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> controlling the request lifetime.</param>
<summary>
Periodically calls the server until the long-running operation completes.
</summary>
<returns>A <see cref="T:Azure.Response`1" /> representing the result of the operation. It can be cast to a <see cref="T:Azure.AI.FormRecognizer.Training.CustomFormModel" />
containing meta-data about the trained model.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="WaitForCompletionAsync">
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Training.CustomFormModel>> WaitForCompletionAsync (this System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Training.TrainingOperation> operation, System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1<class Azure.Response`1<class Azure.AI.FormRecognizer.Training.CustomFormModel>> WaitForCompletionAsync(class System.Threading.Tasks.Task`1<class Azure.AI.FormRecognizer.Training.TrainingOperation> operation, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync(System.Threading.Tasks.Task{Azure.AI.FormRecognizer.Training.TrainingOperation},System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function WaitForCompletionAsync (operation As Task(Of TrainingOperation), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CustomFormModel))" />
<MemberSignature Language="F#" Value="static member WaitForCompletionAsync : System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Training.TrainingOperation> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Training.CustomFormModel>>" Usage="Azure.AI.FormRecognizer.OperationExtensions.WaitForCompletionAsync (operation, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.AI.FormRecognizer</AssemblyName>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Training.CustomFormModel>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="operation" Type="System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Training.TrainingOperation>" RefType="this" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="operation">The instance that this method was invoked on.</param>
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> controlling the request lifetime.</param>
<summary>
Periodically calls the server until the long-running operation completes.
</summary>
<returns>A <see cref="T:Azure.Response`1" /> representing the result of the operation. It can be cast to a <see cref="T:Azure.AI.FormRecognizer.Training.CustomFormModel" />
containing meta-data about the trained model.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>