You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<TypeSignatureLanguage="C#"Value="public class Task : IAsyncResult"FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.6" />
3
3
<TypeSignatureLanguage="ILAsm"Value=".class public auto ansi beforefieldinit Task extends System.Object implements class System.IAsyncResult"FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.6" />
@@ -94,6 +94,8 @@ The <xref:System.Threading.Tasks.Task> created by this instance and accessible t
94
94
95
95
]]></format>
96
96
</remarks>
97
+
<exceptioncref="T:System.ArgumentOutOfRangeException">One or more of the specified <paramrefname="creationOptions" /> are invalid for use with a <seecref="T:System.Threading.Tasks.TaskCompletionSource" />.
98
+
</exception>
97
99
</Docs>
98
100
</Member>
99
101
<MemberMemberName=".ctor">
@@ -117,6 +119,8 @@ The <xref:System.Threading.Tasks.Task> created by this instance and accessible t
117
119
<paramname="creationOptions">The options to use when creating the underlying <seecref="T:System.Threading.Tasks.Task" />.</param>
118
120
<summary>Creates a <seecref="T:System.Threading.Tasks.TaskCompletionSource" /> with the specified state and options.</summary>
119
121
<remarks>To be added.</remarks>
122
+
<exceptioncref="T:System.ArgumentOutOfRangeException">One or more of the specified <paramrefname="creationOptions" /> are invalid for use with a <seecref="T:System.Threading.Tasks.TaskCompletionSource" />.
123
+
</exception>
120
124
</Docs>
121
125
</Member>
122
126
<MemberMemberName="SetCanceled">
@@ -138,6 +142,7 @@ The <xref:System.Threading.Tasks.Task> created by this instance and accessible t
138
142
<Docs>
139
143
<summary>Transitions the underlying <seecref="T:System.Threading.Tasks.Task" /> into the <seecref="F:System.Threading.Tasks.TaskStatus.Canceled" /> state.</summary>
140
144
<remarks>To be added.</remarks>
145
+
<exceptioncref="T:System.InvalidOperationException">The underlying <seecref="T:System.Threading.Tasks.Task" /> is already in one of the three final states: <seecref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />, <seecref="F:System.Threading.Tasks.TaskStatus.Faulted" />, or <seecref="F:System.Threading.Tasks.TaskStatus.Canceled" />.</exception>
141
146
</Docs>
142
147
</Member>
143
148
<MemberMemberName="SetCanceled">
@@ -162,6 +167,7 @@ The <xref:System.Threading.Tasks.Task> created by this instance and accessible t
162
167
<paramname="cancellationToken">The cancellation token with which to cancel the <seecref="T:System.Threading.Tasks.Task" />.</param>
163
168
<summary>Transitions the underlying <seecref="T:System.Threading.Tasks.Task" /> into the <seecref="F:System.Threading.Tasks.TaskStatus.Canceled" /> state using the specified token.</summary>
164
169
<remarks>To be added.</remarks>
170
+
<exceptioncref="T:System.InvalidOperationException">The underlying <seecref="T:System.Threading.Tasks.Task" /> is already in one of the three final states: <seecref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />, <seecref="F:System.Threading.Tasks.TaskStatus.Faulted" />, or <seecref="F:System.Threading.Tasks.TaskStatus.Canceled" />.</exception>
165
171
</Docs>
166
172
</Member>
167
173
<MemberMemberName="SetException">
@@ -186,6 +192,10 @@ The <xref:System.Threading.Tasks.Task> created by this instance and accessible t
186
192
<paramname="exceptions">The collection of exceptions to bind to this <seecref="T:System.Threading.Tasks.Task" />.</param>
187
193
<summary>Transitions the underlying <seecref="T:System.Threading.Tasks.Task" /> into the <seecref="F:System.Threading.Tasks.TaskStatus.Faulted" /> state.</summary>
188
194
<remarks>To be added.</remarks>
195
+
<exceptioncref="T:System.ArgumentNullException">
196
+
<paramrefname="exceptions" /> is <seelangword="null" />.</exception>
197
+
<exceptioncref="T:System.ArgumentException">There are one or more <seelangword="null" /> elements in <paramrefname="exceptions" />.</exception>
198
+
<exceptioncref="T:System.InvalidOperationException">The underlying <seecref="T:System.Threading.Tasks.Task" /> is already in one of the three final states: <seecref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />, <seecref="F:System.Threading.Tasks.TaskStatus.Faulted" />, or <seecref="F:System.Threading.Tasks.TaskStatus.Canceled" />.</exception>
189
199
</Docs>
190
200
</Member>
191
201
<MemberMemberName="SetException">
@@ -210,6 +220,9 @@ The <xref:System.Threading.Tasks.Task> created by this instance and accessible t
210
220
<paramname="exception">The exception to bind to this <seecref="T:System.Threading.Tasks.Task" />.</param>
211
221
<summary>Transitions the underlying <seecref="T:System.Threading.Tasks.Task" /> into the <seecref="F:System.Threading.Tasks.TaskStatus.Faulted" /> state.</summary>
212
222
<remarks>To be added.</remarks>
223
+
<exceptioncref="T:System.ArgumentNullException">
224
+
<paramrefname="exception" /> is <seelangword="null" />.</exception>
225
+
<exceptioncref="T:System.InvalidOperationException">The underlying <seecref="T:System.Threading.Tasks.Task" /> is already in one of the three final states: <seecref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />, <seecref="F:System.Threading.Tasks.TaskStatus.Faulted" />, or <seecref="F:System.Threading.Tasks.TaskStatus.Canceled" />.</exception>
213
226
</Docs>
214
227
</Member>
215
228
<MemberMemberName="SetResult">
@@ -231,6 +244,7 @@ The <xref:System.Threading.Tasks.Task> created by this instance and accessible t
231
244
<Docs>
232
245
<summary>Transitions the underlying <seecref="T:System.Threading.Tasks.Task" /> into the <seecref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" /> state.</summary>
233
246
<remarks>To be added.</remarks>
247
+
<exceptioncref="T:System.InvalidOperationException">The underlying <seecref="T:System.Threading.Tasks.Task" /> is already in one of the three final states: <seecref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />, <seecref="F:System.Threading.Tasks.TaskStatus.Faulted" />, or <seecref="F:System.Threading.Tasks.TaskStatus.Canceled" />.</exception>
234
248
</Docs>
235
249
</Member>
236
250
<MemberMemberName="Task">
@@ -363,6 +377,10 @@ This operation will return `false` if the <xref:System.Threading.Tasks.Task> is
363
377
364
378
]]></format>
365
379
</remarks>
380
+
<exceptioncref="T:System.ArgumentNullException">
381
+
<paramrefname="exceptions" /> is <seelangword="null" />.</exception>
382
+
<exceptioncref="T:System.ArgumentException">There are one or more <seelangword="null" /> elements in <paramrefname="exceptions" />.</exception>
383
+
<exceptioncref="T:System.ArgumentException">The <paramrefname="exceptions" /> collection is empty.</exception>
366
384
</Docs>
367
385
</Member>
368
386
<MemberMemberName="TrySetException">
@@ -398,6 +416,8 @@ This operation will return `false` if the <xref:System.Threading.Tasks.Task> is
398
416
399
417
]]></format>
400
418
</remarks>
419
+
<exceptioncref="T:System.ArgumentNullException">
420
+
<paramrefname="exception" /> is <seelangword="null" />.</exception>
<paramname="cancellationToken">The cancellation token with which to cancel the <seecref="T:System.Threading.Tasks.Task`1" />.</param>
324
324
<summary>Transitions the underlying <seecref="T:System.Threading.Tasks.Task`1" /> into the <seecref="F:System.Threading.Tasks.TaskStatus.Canceled" /> state using the specified token.</summary>
325
325
<remarks>To be added.</remarks>
326
+
<exceptioncref="T:System.InvalidOperationException">The underlying <seecref="T:System.Threading.Tasks.Task`1" /> is already in one of the three final states: <seecref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />, <seecref="F:System.Threading.Tasks.TaskStatus.Faulted" />, or <seecref="F:System.Threading.Tasks.TaskStatus.Canceled" />.</exception>
0 commit comments