1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Threading.Tasks</name>
7 <member name="T:System.AggregateException">
8 <summary>表示在应用程序执行期间发生的一个或多个错误。</summary>
10 <member name="M:System.AggregateException.#ctor">
11 <summary>使用由系统提供的用来描述错误的消息初始化 <see cref="T:System.AggregateException" /> 类的新实例。</summary>
13 <member name="M:System.AggregateException.#ctor(System.Collections.Generic.IEnumerable{System.Exception})">
14 <summary>用对作为此异常原因的内部异常的引用初始化 <see cref="T:System.AggregateException" /> 类的新实例。</summary>
15 <param name="innerExceptions">导致当前异常的异常。</param>
16 <exception cref="T:System.ArgumentNullException">
17 <paramref name="innerExceptions" /> 参数为 null。</exception>
18 <exception cref="T:System.ArgumentException">
19 <paramref name="innerExceptions" /> 的元素为 Null。</exception>
21 <member name="M:System.AggregateException.#ctor(System.Exception[])">
22 <summary>用对作为此异常原因的内部异常的引用初始化 <see cref="T:System.AggregateException" /> 类的新实例。</summary>
23 <param name="innerExceptions">导致当前异常的异常。</param>
24 <exception cref="T:System.ArgumentNullException">
25 <paramref name="innerExceptions" /> 参数为 null。</exception>
26 <exception cref="T:System.ArgumentException">
27 <paramref name="innerExceptions" /> 的元素为 Null。</exception>
29 <member name="M:System.AggregateException.#ctor(System.String)">
30 <summary>使用指定的描述错误的消息初始化 <see cref="T:System.AggregateException" /> 类的新实例。</summary>
31 <param name="message">描述该异常的消息。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。</param>
33 <member name="M:System.AggregateException.#ctor(System.String,System.Collections.Generic.IEnumerable{System.Exception})">
34 <summary>使用指定错误信息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.AggregateException" /> 类的新实例。</summary>
35 <param name="message">解释异常原因的错误信息。</param>
36 <param name="innerExceptions">导致当前异常的异常。</param>
37 <exception cref="T:System.ArgumentNullException">
38 <paramref name="innerExceptions" /> 参数为 null。</exception>
39 <exception cref="T:System.ArgumentException">
40 <paramref name="innerExceptions" /> 的元素为 Null。</exception>
42 <member name="M:System.AggregateException.#ctor(System.String,System.Exception)">
43 <summary>使用指定错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.AggregateException" /> 类的新实例。</summary>
44 <param name="message">描述该异常的消息。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。</param>
45 <param name="innerException">导致当前异常的异常。如果 <paramref name="innerException" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
46 <exception cref="T:System.ArgumentNullException">
47 <paramref name="innerException" /> 参数为 null。</exception>
49 <member name="M:System.AggregateException.#ctor(System.String,System.Exception[])">
50 <summary>使用指定错误信息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.AggregateException" /> 类的新实例。</summary>
51 <param name="message">解释异常原因的错误信息。</param>
52 <param name="innerExceptions">导致当前异常的异常。</param>
53 <exception cref="T:System.ArgumentNullException">
54 <paramref name="innerExceptions" /> 参数为 null。</exception>
55 <exception cref="T:System.ArgumentException">
56 <paramref name="innerExceptions" /> 的元素为 Null。</exception>
58 <member name="M:System.AggregateException.Flatten">
59 <summary>将 <see cref="T:System.AggregateException" /> 实例平展入单个新实例。</summary>
60 <returns>一个新的平展 <see cref="T:System.AggregateException" />。</returns>
62 <member name="M:System.AggregateException.GetBaseException">
63 <summary>返回 <see cref="T:System.AggregateException" />,它是此异常的根本原因。</summary>
64 <returns>返回 <see cref="T:System.AggregateException" />,它是此异常的根本原因。</returns>
66 <member name="M:System.AggregateException.Handle(System.Func{System.Exception,System.Boolean})">
67 <summary>对此 <see cref="T:System.AggregateException" /> 所包含的每个 <see cref="T:System.Exception" /> 调用处理程序。</summary>
68 <param name="predicate">要对每个异常执行的谓词。该谓词接受作为参数来处理 <see cref="T:System.Exception" />,并返回指示异常是否已处理的布尔值。</param>
69 <exception cref="T:System.ArgumentNullException">
70 <paramref name="predicate" /> 参数为 null。</exception>
71 <exception cref="T:System.AggregateException">未处理此 <see cref="T:System.AggregateException" /> 包含的异常。</exception>
73 <member name="P:System.AggregateException.InnerExceptions">
74 <summary>获取导致当前异常的 <see cref="T:System.Exception" /> 实例的只读集合。</summary>
75 <returns>返回导致当前异常的 <see cref="T:System.Exception" /> 实例的只读集合。</returns>
77 <member name="M:System.AggregateException.ToString">
78 <summary>创建并返回当前 <see cref="T:System.AggregateException" /> 的字符串表示形式。</summary>
79 <returns>当前异常的字符串表示形式。</returns>
81 <member name="T:System.OperationCanceledException">
82 <summary>取消线程正在执行的操作时在线程中引发的异常。</summary>
83 <filterpriority>2</filterpriority>
85 <member name="M:System.OperationCanceledException.#ctor">
86 <summary>使用系统提供的错误信息初始化 <see cref="T:System.OperationCanceledException" /> 类的新实例。</summary>
88 <member name="M:System.OperationCanceledException.#ctor(System.String)">
89 <summary>使用指定的错误信息初始化 <see cref="T:System.OperationCanceledException" /> 类的新实例。</summary>
90 <param name="message">描述该错误的 <see cref="T:System.String" />。</param>
92 <member name="M:System.OperationCanceledException.#ctor(System.String,System.Exception)">
93 <summary>使用指定错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.OperationCanceledException" /> 类的新实例。</summary>
94 <param name="message">解释异常原因的错误信息。</param>
95 <param name="innerException">导致当前异常的异常。如果 <paramref name="innerException" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
97 <member name="M:System.OperationCanceledException.#ctor(System.String,System.Exception,System.Threading.CancellationToken)">
98 <summary>用指定的错误消息、对作为此异常原因的内部异常的引用以及取消令牌初始化 <see cref="T:System.OperationCanceledException" /> 类的新实例。</summary>
99 <param name="message">解释异常原因的错误信息。</param>
100 <param name="innerException">导致当前异常的异常。如果 <paramref name="innerException" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
101 <param name="token">一个与已取消的操作关联的取消标记。</param>
103 <member name="M:System.OperationCanceledException.#ctor(System.String,System.Threading.CancellationToken)">
104 <summary>使用指定的错误信息和取消令牌初始化 <see cref="T:System.OperationCanceledException" /> 类的新实例。</summary>
105 <param name="message">解释异常原因的错误信息。</param>
106 <param name="token">一个与已取消的操作关联的取消标记。</param>
108 <member name="M:System.OperationCanceledException.#ctor(System.Threading.CancellationToken)">
109 <summary>用取消令牌初始化 <see cref="T:System.OperationCanceledException" /> 类的新实例。</summary>
110 <param name="token">一个与已取消的操作关联的取消标记。</param>
112 <member name="P:System.OperationCanceledException.CancellationToken">
113 <summary>获取与已取消的操作关联的令牌。</summary>
114 <returns>与已取消的操作关联的令牌,或默认令牌。</returns>
116 <member name="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder">
117 <summary>表示生成器,用于返回任务的异步方法。</summary>
119 <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AwaitOnCompleted``2(``0@,``1@)">
120 <summary>指定的 awaiter 完成时,安排状态机,以继续下一操作。</summary>
121 <param name="awaiter">awaiter。</param>
122 <param name="stateMachine">状态机。</param>
123 <typeparam name="TAwaiter">Awaiter 的类型。</typeparam>
124 <typeparam name="TStateMachine">状态机的类型。</typeparam>
126 <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AwaitUnsafeOnCompleted``2(``0@,``1@)">
127 <summary>指定的 awaiter 完成时,安排状态机,以继续下一操作。此方法可从部分受信任的代码调用。</summary>
128 <param name="awaiter">awaiter。</param>
129 <param name="stateMachine">状态机。</param>
130 <typeparam name="TAwaiter">Awaiter 的类型。</typeparam>
131 <typeparam name="TStateMachine">状态机的类型。</typeparam>
133 <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Create">
134 <summary>创建 <see cref="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder" /> 类的实例。</summary>
135 <returns>生成器的新实例。</returns>
137 <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException(System.Exception)">
138 <summary>标记此任务为失败并绑定指定的异常至此任务。</summary>
139 <param name="exception">要绑定到任务的异常。</param>
140 <exception cref="T:System.ArgumentNullException">
141 <paramref name="exception" /> 为 null。</exception>
142 <exception cref="T:System.InvalidOperationException">任务已完成。- 或 -该生成程序未初始化。</exception>
144 <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult">
145 <summary>将任务标记为已成功完成。</summary>
146 <exception cref="T:System.InvalidOperationException">任务已完成。- 或 -该生成程序未初始化。</exception>
148 <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)">
149 <summary>一个生成器与指定的状态机关联。</summary>
150 <param name="stateMachine">要与生成器关联的状态机实例。</param>
151 <exception cref="T:System.ArgumentNullException">
152 <paramref name="stateMachine" /> 为 null。</exception>
153 <exception cref="T:System.InvalidOperationException">预设置状态机。</exception>
155 <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start``1(``0@)">
156 <summary>开始运行有关联状态机的生成器。</summary>
157 <param name="stateMachine">由引用传递的状态器实例。</param>
158 <typeparam name="TStateMachine">状态机的类型。</typeparam>
159 <exception cref="T:System.ArgumentNullException">
160 <paramref name="stateMachine" /> 为 null。</exception>
162 <member name="P:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Task">
163 <summary>获取此生成器的任务。</summary>
164 <returns>此生成器的任务。</returns>
165 <exception cref="T:System.InvalidOperationException">该生成程序未初始化。</exception>
167 <member name="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1">
168 <summary>表示异步方法的生成器,该生成器将返回任务并提供结果的参数。</summary>
169 <typeparam name="TResult">用来完成任务的结果。</typeparam>
171 <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AwaitOnCompleted``2(``0@,``1@)">
172 <summary>指定的 awaiter 完成时,安排状态机,以继续下一操作。</summary>
173 <param name="awaiter">awaiter。</param>
174 <param name="stateMachine">状态机。</param>
175 <typeparam name="TAwaiter">Awaiter 的类型。</typeparam>
176 <typeparam name="TStateMachine">状态机的类型。</typeparam>
178 <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AwaitUnsafeOnCompleted``2(``0@,``1@)">
179 <summary>指定的 awaiter 完成时,安排状态机,以继续下一操作。此方法可从部分受信任的代码调用。</summary>
180 <param name="awaiter">awaiter。</param>
181 <param name="stateMachine">状态机。</param>
182 <typeparam name="TAwaiter">Awaiter 的类型。</typeparam>
183 <typeparam name="TStateMachine">状态机的类型。</typeparam>
185 <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Create">
186 <summary>创建 <see cref="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1" /> 类的实例。</summary>
187 <returns>生成器的新实例。</returns>
189 <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetException(System.Exception)">
190 <summary>标记此任务为失败并绑定指定的异常至此任务。</summary>
191 <param name="exception">要绑定到任务的异常。</param>
192 <exception cref="T:System.ArgumentNullException">
193 <paramref name="exception" /> 为 null。</exception>
194 <exception cref="T:System.InvalidOperationException">任务已完成。</exception>
196 <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetResult(`0)">
197 <summary>将任务标记为已成功完成。</summary>
198 <param name="result">用来完成任务的结果。</param>
199 <exception cref="T:System.InvalidOperationException">任务已完成。</exception>
201 <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)">
202 <summary>一个生成器与指定的状态机关联。</summary>
203 <param name="stateMachine">要与生成器关联的状态机实例。</param>
204 <exception cref="T:System.ArgumentNullException">
205 <paramref name="stateMachine" /> 为 null。</exception>
206 <exception cref="T:System.InvalidOperationException">预设置状态机。</exception>
208 <member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start``1(``0@)">
209 <summary>开始运行有关联状态机的生成器。</summary>
210 <param name="stateMachine">由引用传递的状态器实例。</param>
211 <typeparam name="TStateMachine">状态机的类型。</typeparam>
212 <exception cref="T:System.ArgumentNullException">
213 <paramref name="stateMachine" /> 为 null。</exception>
215 <member name="P:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Task">
216 <summary>获取此生成器的任务。</summary>
217 <returns>此生成器的任务。</returns>
219 <member name="T:System.Runtime.CompilerServices.AsyncVoidMethodBuilder">
220 <summary>表示生成器,用于不返回值的异步方法。</summary>
222 <member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.AwaitOnCompleted``2(``0@,``1@)">
223 <summary>指定的 awaiter 完成时,安排状态机,以继续下一操作。</summary>
224 <param name="awaiter">awaiter。</param>
225 <param name="stateMachine">状态机。</param>
226 <typeparam name="TAwaiter">Awaiter 的类型。</typeparam>
227 <typeparam name="TStateMachine">状态机的类型。</typeparam>
229 <member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.AwaitUnsafeOnCompleted``2(``0@,``1@)">
230 <summary>指定的 awaiter 完成时,安排状态机,以继续下一操作。此方法可从部分受信任的代码调用。</summary>
231 <param name="awaiter">awaiter。</param>
232 <param name="stateMachine">状态机。</param>
233 <typeparam name="TAwaiter">Awaiter 的类型。</typeparam>
234 <typeparam name="TStateMachine">状态机的类型。</typeparam>
236 <member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Create">
237 <summary>创建 <see cref="T:System.Runtime.CompilerServices.AsyncVoidMethodBuilder" /> 类的实例。</summary>
238 <returns>生成器的新实例。</returns>
240 <member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.SetException(System.Exception)">
241 <summary>将一个异常绑定到该方法生成器。</summary>
242 <param name="exception">要绑定的异常。</param>
243 <exception cref="T:System.ArgumentNullException">
244 <paramref name="exception" /> 为 null。</exception>
245 <exception cref="T:System.InvalidOperationException">该生成程序未初始化。</exception>
247 <member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.SetResult">
248 <summary>标记此方法生成器为成功完成。</summary>
249 <exception cref="T:System.InvalidOperationException">该生成程序未初始化。</exception>
251 <member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)">
252 <summary>一个生成器与指定的状态机关联。</summary>
253 <param name="stateMachine">要与生成器关联的状态机实例。</param>
254 <exception cref="T:System.ArgumentNullException">
255 <paramref name="stateMachine" /> 为 null。</exception>
256 <exception cref="T:System.InvalidOperationException">预设置状态机。</exception>
258 <member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start``1(``0@)">
259 <summary>开始运行有关联状态机的生成器。</summary>
260 <param name="stateMachine">由引用传递的状态器实例。</param>
261 <typeparam name="TStateMachine">状态机的类型。</typeparam>
262 <exception cref="T:System.ArgumentNullException">
263 <paramref name="stateMachine" /> 为 null。</exception>
265 <member name="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable">
266 <summary>提供用于启用对任务的已配置等待的可等待对象。</summary>
268 <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable.GetAwaiter">
269 <summary>返回此可等待对象的 Awaiter。</summary>
270 <returns>awaiter。</returns>
272 <member name="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1">
273 <summary>提供用于启用对任务的已配置等待的可等待对象。</summary>
274 <typeparam name="TResult">此 <see cref="T:System.Threading.Tasks.Task`1" /> 生成的结果的类型。</typeparam>
276 <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.GetAwaiter">
277 <summary>返回此可等待对象的 Awaiter。</summary>
278 <returns>awaiter。</returns>
280 <member name="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter">
281 <summary>提供可等待对象 (<see cref="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1" />) 的 Awaiter。</summary>
283 <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult">
284 <summary>结束对已完成任务的等待。</summary>
285 <returns>已完成任务的结果。</returns>
286 <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
287 <exception cref="T:System.Threading.Tasks.TaskCanceledException">已取消的任务。</exception>
288 <exception cref="T:System.Exception">该任务在出错状态下完成。</exception>
290 <member name="P:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.IsCompleted">
291 <summary>获取一个值,该值指定等待中的任务是否已完成。</summary>
292 <returns>如果已成功完成等待任务,则为 true;否则为 false。</returns>
293 <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
295 <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.OnCompleted(System.Action)">
296 <summary>为与此 awaiter 关联的任务计划延续操作。</summary>
297 <param name="continuation">在等待操作完成时要调用的操作。</param>
298 <exception cref="T:System.ArgumentNullException">
299 <paramref name="continuation" /> 参数为 null。</exception>
300 <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
302 <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.UnsafeOnCompleted(System.Action)">
303 <summary>为与此 awaiter 关联的任务计划延续操作。</summary>
304 <param name="continuation">在等待操作完成时要调用的操作。</param>
305 <exception cref="T:System.ArgumentNullException">
306 <paramref name="continuation" /> 参数为 null。</exception>
307 <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
309 <member name="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter">
310 <summary>提供可等待 (<see cref="T:System.Runtime.CompilerServices.ConfiguredTaskAwaitable" />) 对象的 Awaiter。</summary>
312 <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult">
313 <summary>结束对已完成任务的等待。</summary>
314 <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
315 <exception cref="T:System.Threading.Tasks.TaskCanceledException">已取消的任务。</exception>
316 <exception cref="T:System.Exception">该任务在出错状态下完成。</exception>
318 <member name="P:System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.IsCompleted">
319 <summary>获取指定长期任务是否复杂的值。</summary>
320 <returns>如果已成功完成等待任务,则为 true;否则为 false。</returns>
321 <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
323 <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.OnCompleted(System.Action)">
324 <summary>为与此 awaiter 关联的任务计划延续操作。</summary>
325 <param name="continuation">在等待操作完成时要调用的操作。</param>
326 <exception cref="T:System.ArgumentNullException">
327 <paramref name="continuation" /> 参数为 null。</exception>
328 <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
330 <member name="M:System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.UnsafeOnCompleted(System.Action)">
331 <summary>为与此 awaiter 关联的任务计划延续操作。</summary>
332 <param name="continuation">在等待操作完成时要调用的操作。</param>
333 <exception cref="T:System.ArgumentNullException">
334 <paramref name="continuation" /> 参数为 null。</exception>
335 <exception cref="T:System.NullReferenceException">等待未正确地初始化。</exception>
337 <member name="T:System.Runtime.CompilerServices.IAsyncStateMachine">
338 <summary>表示为异步方法生成的状态机。此类别仅供编译器使用。</summary>
340 <member name="M:System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext">
341 <summary>移动此状态机至其下一个状态。</summary>
343 <member name="M:System.Runtime.CompilerServices.IAsyncStateMachine.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)">
344 <summary>使用堆分配的副本配置该状态机。</summary>
345 <param name="stateMachine">堆分配的副本。</param>
347 <member name="T:System.Runtime.CompilerServices.ICriticalNotifyCompletion">
348 <summary>表示等候程序,其计划等待操作完成时的后续部分。</summary>
350 <member name="M:System.Runtime.CompilerServices.ICriticalNotifyCompletion.UnsafeOnCompleted(System.Action)">
351 <summary>计划实例完成时调用的延续操作。</summary>
352 <param name="continuation">要在操作完成时调用的操作。</param>
353 <exception cref="T:System.ArgumentNullException">
354 <paramref name="continuation" /> 参数是 null(在 Visual Basic 中为 Nothing)。</exception>
356 <member name="T:System.Runtime.CompilerServices.INotifyCompletion">
357 <summary>表示操作,其计划等待操作完成时的后续部分。</summary>
359 <member name="M:System.Runtime.CompilerServices.INotifyCompletion.OnCompleted(System.Action)">
360 <summary>计划实例完成时调用的延续操作。</summary>
361 <param name="continuation">要在操作完成时调用的操作。</param>
362 <exception cref="T:System.ArgumentNullException">
363 <paramref name="continuation" /> 参数是 null(在 Visual Basic 中为 Nothing)。</exception>
365 <member name="T:System.Runtime.CompilerServices.TaskAwaiter">
366 <summary>提供对象,其等待异步任务的完成。</summary>
368 <member name="M:System.Runtime.CompilerServices.TaskAwaiter.GetResult">
369 <summary>异步任务完成后关闭等待任务。</summary>
370 <exception cref="T:System.NullReferenceException">
371 <see cref="T:System.Runtime.CompilerServices.TaskAwaiter" /> 对象未正确地初始化。</exception>
372 <exception cref="T:System.Threading.Tasks.TaskCanceledException">已取消的任务。</exception>
373 <exception cref="T:System.Exception">在 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 状态中完成的任务。</exception>
375 <member name="P:System.Runtime.CompilerServices.TaskAwaiter.IsCompleted">
376 <summary>获取一个值,该值指示异步任务是否已完成。</summary>
377 <returns>如果该任务已完成,则为 true;否则为 false。</returns>
378 <exception cref="T:System.NullReferenceException">
379 <see cref="T:System.Runtime.CompilerServices.TaskAwaiter" /> 对象未正确地初始化。</exception>
381 <member name="M:System.Runtime.CompilerServices.TaskAwaiter.OnCompleted(System.Action)">
382 <summary>将操作设置为当 <see cref="T:System.Runtime.CompilerServices.TaskAwaiter" /> 对象停止等待异步任务完成时执行。</summary>
383 <param name="continuation">在等待操作完成时要执行的操作。</param>
384 <exception cref="T:System.ArgumentNullException">
385 <paramref name="continuation" /> 为 null。</exception>
386 <exception cref="T:System.NullReferenceException">
387 <see cref="T:System.Runtime.CompilerServices.TaskAwaiter" /> 对象未正确地初始化。</exception>
389 <member name="M:System.Runtime.CompilerServices.TaskAwaiter.UnsafeOnCompleted(System.Action)">
390 <summary>计划与此 awaiter 相关异步任务的延续操作。</summary>
391 <param name="continuation">在等待操作完成时要调用的操作。</param>
392 <exception cref="T:System.ArgumentNullException">
393 <paramref name="continuation" /> 为 null。</exception>
394 <exception cref="T:System.InvalidOperationException">等待未正确地初始化。</exception>
396 <member name="T:System.Runtime.CompilerServices.TaskAwaiter`1">
397 <summary>表示等待完成的异步任务的对象,并提供结果的参数。</summary>
398 <typeparam name="TResult">任务的结果。</typeparam>
400 <member name="M:System.Runtime.CompilerServices.TaskAwaiter`1.GetResult">
401 <summary>异步任务完成后关闭等待任务。</summary>
402 <returns>已完成任务的结果。</returns>
403 <exception cref="T:System.NullReferenceException">
404 <see cref="T:System.Runtime.CompilerServices.TaskAwaiter`1" /> 对象未正确地初始化。</exception>
405 <exception cref="T:System.Threading.Tasks.TaskCanceledException">已取消的任务。</exception>
406 <exception cref="T:System.Exception">在 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 状态中完成的任务。</exception>
408 <member name="P:System.Runtime.CompilerServices.TaskAwaiter`1.IsCompleted">
409 <summary>获取一个值,该值指示异步任务是否已完成。</summary>
410 <returns>如果该任务已完成,则为 true;否则为 false。</returns>
411 <exception cref="T:System.NullReferenceException">
412 <see cref="T:System.Runtime.CompilerServices.TaskAwaiter`1" /> 对象未正确地初始化。</exception>
414 <member name="M:System.Runtime.CompilerServices.TaskAwaiter`1.OnCompleted(System.Action)">
415 <summary>将操作设置为当 <see cref="T:System.Runtime.CompilerServices.TaskAwaiter`1" /> 对象停止等待异步任务完成时执行。</summary>
416 <param name="continuation">在等待操作完成时要执行的操作。</param>
417 <exception cref="T:System.ArgumentNullException">
418 <paramref name="continuation" /> 为 null。</exception>
419 <exception cref="T:System.NullReferenceException">
420 <see cref="T:System.Runtime.CompilerServices.TaskAwaiter`1" /> 对象未正确地初始化。</exception>
422 <member name="M:System.Runtime.CompilerServices.TaskAwaiter`1.UnsafeOnCompleted(System.Action)">
423 <summary>计划与此 awaiter 相关异步任务的延续操作。</summary>
424 <param name="continuation">在等待操作完成时要调用的操作。</param>
425 <exception cref="T:System.ArgumentNullException">
426 <paramref name="continuation" /> 为 null。</exception>
427 <exception cref="T:System.InvalidOperationException">等待未正确地初始化。</exception>
429 <member name="T:System.Runtime.CompilerServices.YieldAwaitable">
430 <summary>提供上下文,用于在异步切换到目标环境时等待。</summary>
432 <member name="M:System.Runtime.CompilerServices.YieldAwaitable.GetAwaiter">
433 <summary>为此类的实例检索 <see cref="T:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter" /> 对象。</summary>
434 <returns>用于监视异步操作是否完成的对象。</returns>
436 <member name="T:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter">
437 <summary>提供等待器,用于切换至目标环境。</summary>
439 <member name="M:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.GetResult">
440 <summary>结束等待操作。</summary>
442 <member name="P:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.IsCompleted">
443 <summary>获取一个值,该值指示是否需要一个 yield。</summary>
444 <returns>始终 false,指示 yield 始终是 <see cref="T:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter" /> 所必需的。</returns>
446 <member name="M:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.OnCompleted(System.Action)">
447 <summary>设置延续以调用。</summary>
448 <param name="continuation">要异步调用的调用。</param>
449 <exception cref="T:System.ArgumentNullException">
450 <paramref name="continuation" /> 为 null。</exception>
452 <member name="M:System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.UnsafeOnCompleted(System.Action)">
453 <summary>发送 <paramref name="continuation" /> 回到当前上下文。</summary>
454 <param name="continuation">要异步调用的调用。</param>
455 <exception cref="T:System.ArgumentNullException">
456 <paramref name="continuation" /> 参数为 null。</exception>
458 <member name="T:System.Threading.CancellationToken">
459 <summary>传播有关应取消操作的通知。</summary>
461 <member name="M:System.Threading.CancellationToken.#ctor(System.Boolean)">
462 <summary>初始化 <see cref="T:System.Threading.CancellationToken" />。</summary>
463 <param name="canceled">标记的已取消状态。</param>
465 <member name="P:System.Threading.CancellationToken.CanBeCanceled">
466 <summary>获取此标记是否能处于已取消状态。</summary>
467 <returns>如果此标记能处于已取消状态,则为 true;否则为 false。</returns>
469 <member name="M:System.Threading.CancellationToken.Equals(System.Object)">
470 <summary>确定当前的 <see cref="T:System.Threading.CancellationToken" /> 实例是否等于指定的 <see cref="T:System.Object" />。</summary>
471 <returns>如果 <paramref name="other" /> 为 <see cref="T:System.Threading.CancellationToken" /> 并且两个实例相等,则为 true;否则为 false。如果两个标记与同一 <see cref="T:System.Threading.CancellationTokenSource" /> 关联,或者它们均是根据公共 CancellationToken 构造函数构造并且其 <see cref="P:System.Threading.CancellationToken.IsCancellationRequested" /> 值相等,则两个标记相等。</returns>
472 <param name="other">要与此实例进行比较的其他对象。</param>
473 <exception cref="T:System.ObjectDisposedException">An associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
475 <member name="M:System.Threading.CancellationToken.Equals(System.Threading.CancellationToken)">
476 <summary>确定当前的 <see cref="T:System.Threading.CancellationToken" /> 实例是否等于指定的标记。</summary>
477 <returns>如果两个实例相等,则为 true;否则为 false。如果两个标记与同一 <see cref="T:System.Threading.CancellationTokenSource" /> 关联,或者它们均是根据公共 CancellationToken 构造函数构造并且其 <see cref="P:System.Threading.CancellationToken.IsCancellationRequested" /> 值相等,则两个标记相等。</returns>
478 <param name="other">要与此实例进行比较的另一个 <see cref="T:System.Threading.CancellationToken" />。</param>
480 <member name="M:System.Threading.CancellationToken.GetHashCode">
481 <summary>作为 <see cref="T:System.Threading.CancellationToken" /> 的哈希函数。</summary>
482 <returns>当前 <see cref="T:System.Threading.CancellationToken" /> 实例的哈希代码。</returns>
484 <member name="P:System.Threading.CancellationToken.IsCancellationRequested">
485 <summary>获取是否已请求取消此标记。</summary>
486 <returns>如果已请求取消此标记,则为 true;否则为 false。</returns>
488 <member name="P:System.Threading.CancellationToken.None">
489 <summary>返回一个空 <see cref="T:System.Threading.CancellationToken" /> 值。</summary>
490 <returns>一个空取消标记。</returns>
492 <member name="M:System.Threading.CancellationToken.op_Equality(System.Threading.CancellationToken,System.Threading.CancellationToken)">
493 <summary>确定两个 <see cref="T:System.Threading.CancellationToken" /> 实例是否相等。</summary>
494 <returns>如果两个实例相等,则为 true;否则为 false。</returns>
495 <param name="left">第一个实例。</param>
496 <param name="right">第二个实例。</param>
497 <exception cref="T:System.ObjectDisposedException">An associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
499 <member name="M:System.Threading.CancellationToken.op_Inequality(System.Threading.CancellationToken,System.Threading.CancellationToken)">
500 <summary>确定两个 <see cref="T:System.Threading.CancellationToken" /> 实例是否不相等。</summary>
501 <returns>如果实例不相等,则为 true;否则为 false。</returns>
502 <param name="left">第一个实例。</param>
503 <param name="right">第二个实例。</param>
504 <exception cref="T:System.ObjectDisposedException">An associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
506 <member name="M:System.Threading.CancellationToken.Register(System.Action)">
507 <summary>注册一个将在取消此 <see cref="T:System.Threading.CancellationToken" /> 时调用的委托。</summary>
508 <returns>可用于取消注册回调的 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例。</returns>
509 <param name="callback">要在取消 <see cref="T:System.Threading.CancellationToken" /> 时执行的委托。</param>
510 <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
511 <exception cref="T:System.ArgumentNullException">
512 <paramref name="callback" /> is null.</exception>
514 <member name="M:System.Threading.CancellationToken.Register(System.Action,System.Boolean)">
515 <summary>注册一个将在取消此 <see cref="T:System.Threading.CancellationToken" /> 时调用的委托。</summary>
516 <returns>可用于取消注册回调的 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例。</returns>
517 <param name="callback">要在取消 <see cref="T:System.Threading.CancellationToken" /> 时执行的委托。</param>
518 <param name="useSynchronizationContext">一个布尔值,该值指示是否捕获当前 <see cref="T:System.Threading.SynchronizationContext" /> 并在调用 <paramref name="callback" /> 时使用它。</param>
519 <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
520 <exception cref="T:System.ArgumentNullException">
521 <paramref name="callback" /> is null.</exception>
523 <member name="M:System.Threading.CancellationToken.Register(System.Action{System.Object},System.Object)">
524 <summary>注册一个将在取消此 <see cref="T:System.Threading.CancellationToken" /> 时调用的委托。</summary>
525 <returns>可用于取消注册回调的 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例。</returns>
526 <param name="callback">要在取消 <see cref="T:System.Threading.CancellationToken" /> 时执行的委托。</param>
527 <param name="state">要在调用委托时传递给 <paramref name="callback" /> 的状态。这可能为 null。</param>
528 <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
529 <exception cref="T:System.ArgumentNullException">
530 <paramref name="callback" /> is null.</exception>
532 <member name="M:System.Threading.CancellationToken.Register(System.Action{System.Object},System.Object,System.Boolean)">
533 <summary>注册一个将在取消此 <see cref="T:System.Threading.CancellationToken" /> 时调用的委托。</summary>
534 <returns>可用于取消注册回调的 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例。</returns>
535 <param name="callback">要在取消 <see cref="T:System.Threading.CancellationToken" /> 时执行的委托。</param>
536 <param name="state">要在调用委托时传递给 <paramref name="callback" /> 的状态。这可能为 null。</param>
537 <param name="useSynchronizationContext">一个布尔值,该值指示是否捕获当前 <see cref="T:System.Threading.SynchronizationContext" /> 并在调用 <paramref name="callback" /> 时使用它。</param>
538 <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
539 <exception cref="T:System.ArgumentNullException">
540 <paramref name="callback" /> is null.</exception>
542 <member name="M:System.Threading.CancellationToken.ThrowIfCancellationRequested">
543 <summary>如果已请求取消此标记,则引发 <see cref="T:System.OperationCanceledException" />。</summary>
544 <exception cref="T:System.OperationCanceledException">The token has had cancellation requested.</exception>
545 <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
547 <member name="P:System.Threading.CancellationToken.WaitHandle">
548 <summary>获取在取消标记时收到信号的 <see cref="T:System.Threading.WaitHandle" />。</summary>
549 <returns>在取消标记时收到信号的 <see cref="T:System.Threading.WaitHandle" />。</returns>
550 <exception cref="T:System.ObjectDisposedException">The associated <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
552 <member name="T:System.Threading.CancellationTokenRegistration">
553 <summary>表示已向 <see cref="T:System.Threading.CancellationToken" /> 注册的回调委托。</summary>
555 <member name="M:System.Threading.CancellationTokenRegistration.Dispose">
556 <summary>释放由 <see cref="T:System.Threading.CancellationTokenRegistration" /> 类的当前实例占用的所有资源。</summary>
558 <member name="M:System.Threading.CancellationTokenRegistration.Equals(System.Object)">
559 <summary>确定当前的 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例是否等于指定的 <see cref="T:System.Threading.CancellationTokenRegistration" />。</summary>
560 <returns>如果此实例和 <paramref name="obj" /> 相等,则为 true。否则为 false。如果两个 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例均引用对相同 <see cref="T:System.Threading.CancellationToken" /> Register 方法的单一调用的输出,则这两个实例相等。</returns>
561 <param name="obj">要与此实例进行比较的其他对象。</param>
563 <member name="M:System.Threading.CancellationTokenRegistration.Equals(System.Threading.CancellationTokenRegistration)">
564 <summary>确定当前的 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例是否等于指定的 <see cref="T:System.Threading.CancellationTokenRegistration" />。</summary>
565 <returns>如果此实例和 <paramref name="other" /> 相等,则为 true。否则为 false。 如果两个 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例均引用对相同 <see cref="T:System.Threading.CancellationToken" /> Register 方法的单一调用的输出,则这两个实例相等。</returns>
566 <param name="other">要与此实例进行比较的其他 <see cref="T:System.Threading.CancellationTokenRegistration" />。</param>
568 <member name="M:System.Threading.CancellationTokenRegistration.GetHashCode">
569 <summary>作为 <see cref="T:System.Threading.CancellationTokenRegistration" /> 的哈希函数。</summary>
570 <returns>当前 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例的哈希代码。</returns>
572 <member name="M:System.Threading.CancellationTokenRegistration.op_Equality(System.Threading.CancellationTokenRegistration,System.Threading.CancellationTokenRegistration)">
573 <summary>确定两个 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例是否相等。</summary>
574 <returns>如果两个实例相等,则为 true;否则为 false。</returns>
575 <param name="left">第一个实例。</param>
576 <param name="right">第二个实例。</param>
578 <member name="M:System.Threading.CancellationTokenRegistration.op_Inequality(System.Threading.CancellationTokenRegistration,System.Threading.CancellationTokenRegistration)">
579 <summary>确定两个 <see cref="T:System.Threading.CancellationTokenRegistration" /> 实例是否不相等。</summary>
580 <returns>如果两个实例不相等,则为 true;否则为 false。</returns>
581 <param name="left">第一个实例。</param>
582 <param name="right">第二个实例。</param>
584 <member name="T:System.Threading.CancellationTokenSource">
585 <summary>向应该被取消的 <see cref="T:System.Threading.CancellationToken" /> 发送信号。</summary>
587 <member name="M:System.Threading.CancellationTokenSource.#ctor">
588 <summary>初始化 <see cref="T:System.Threading.CancellationTokenSource" /> 类的新实例。</summary>
590 <member name="M:System.Threading.CancellationTokenSource.#ctor(System.Int32)">
591 <summary>初始化 <see cref="T:System.Threading.CancellationTokenSource" /> 类的新实例,在指定的延迟(以毫秒为单位)后将被取消。</summary>
592 <param name="millisecondsDelay">取消此 <see cref="T:System.Threading.CancellationTokenSource" /> 前等待的时间间隔(以毫秒为单位)。</param>
593 <exception cref="T:System.ArgumentOutOfRangeException">
594 <paramref name="millisecondsDelay" /> is less than -1. </exception>
596 <member name="M:System.Threading.CancellationTokenSource.#ctor(System.TimeSpan)">
597 <summary>初始化 <see cref="T:System.Threading.CancellationTokenSource" /> 类的新实例,在指定的时间跨度后将被取消。</summary>
598 <param name="delay">取消此 <see cref="T:System.Threading.CancellationTokenSource" /> 前等待的时间间隔。</param>
599 <exception cref="T:System.ArgumentOutOfRangeException">
600 <paramref name="delay" />.<see cref="P:System.TimeSpan.TotalMilliseconds" /> is less than -1 or greater than <see cref="F:System.Int32.MaxValue" />.</exception>
602 <member name="M:System.Threading.CancellationTokenSource.Cancel">
603 <summary>传达取消请求。</summary>
604 <exception cref="T:System.ObjectDisposedException">This <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
605 <exception cref="T:System.AggregateException">An aggregate exception containing all the exceptions thrown by the registered callbacks on the associated <see cref="T:System.Threading.CancellationToken" />.</exception>
607 <member name="M:System.Threading.CancellationTokenSource.Cancel(System.Boolean)">
608 <summary>传达对取消的请求,并指定是否应处理其余回调和可取消操作。</summary>
609 <param name="throwOnFirstException">如果可以立即传播异常,则为 true;否则为 false。</param>
610 <exception cref="T:System.ObjectDisposedException">This <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
611 <exception cref="T:System.AggregateException">An aggregate exception containing all the exceptions thrown by the registered callbacks on the associated <see cref="T:System.Threading.CancellationToken" />.</exception>
613 <member name="M:System.Threading.CancellationTokenSource.CancelAfter(System.Int32)">
614 <summary>在指定的毫秒数后计划对此 <see cref="T:System.Threading.CancellationTokenSource" /> 的取消操作。</summary>
615 <param name="millisecondsDelay">取消此 <see cref="T:System.Threading.CancellationTokenSource" /> 前等待的时间范围。</param>
616 <exception cref="T:System.ObjectDisposedException">The exception thrown when this <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
617 <exception cref="T:System.ArgumentOutOfRangeException">The exception thrown when <paramref name="millisecondsDelay" /> is less than -1.</exception>
619 <member name="M:System.Threading.CancellationTokenSource.CancelAfter(System.TimeSpan)">
620 <summary>在指定的时间跨度后计划对此 <see cref="T:System.Threading.CancellationTokenSource" /> 的取消操作。</summary>
621 <param name="delay">取消此 <see cref="T:System.Threading.CancellationTokenSource" /> 前等待的时间范围。</param>
622 <exception cref="T:System.ObjectDisposedException">The exception thrown when this <see cref="T:System.Threading.CancellationTokenSource" /> has been disposed.</exception>
623 <exception cref="T:System.ArgumentOutOfRangeException">The exception that is thrown when <paramref name="delay" /> is less than -1 or greater than Int32.MaxValue.</exception>
625 <member name="M:System.Threading.CancellationTokenSource.CreateLinkedTokenSource(System.Threading.CancellationToken,System.Threading.CancellationToken)">
626 <summary>创建一个将在任何源标记处于取消状态时处于取消状态的 <see cref="T:System.Threading.CancellationTokenSource" />。</summary>
627 <returns>一个链接到源标记的 <see cref="T:System.Threading.CancellationTokenSource" />。</returns>
628 <param name="token1">要观察的第一个取消标记。</param>
629 <param name="token2">要观察的第二个取消标记。</param>
630 <exception cref="T:System.ObjectDisposedException">A <see cref="T:System.Threading.CancellationTokenSource" /> associated with one of the source tokens has been disposed.</exception>
632 <member name="M:System.Threading.CancellationTokenSource.CreateLinkedTokenSource(System.Threading.CancellationToken[])">
633 <summary>创建一个将在在指定的数组中任何源标记处于取消状态时处于取消状态的 <see cref="T:System.Threading.CancellationTokenSource" />。</summary>
634 <returns>一个链接到源标记的 <see cref="T:System.Threading.CancellationTokenSource" />。</returns>
635 <param name="tokens">包含要观察的取消标记实例的数组。</param>
636 <exception cref="T:System.ObjectDisposedException">A <see cref="T:System.Threading.CancellationTokenSource" /> associated with one of the source tokens has been disposed.</exception>
637 <exception cref="T:System.ArgumentNullException">
638 <paramref name="tokens" /> is null.</exception>
639 <exception cref="T:System.ArgumentException">
640 <paramref name="tokens" /> is empty.</exception>
642 <member name="M:System.Threading.CancellationTokenSource.Dispose">
643 <summary>释放 <see cref="T:System.Threading.CancellationTokenSource" /> 类的当前实例所使用的所有资源。</summary>
645 <member name="M:System.Threading.CancellationTokenSource.Dispose(System.Boolean)">
646 <summary>释放 <see cref="T:System.Threading.CancellationTokenSource" /> 类使用的非托管资源,并可以选择释放托管资源。</summary>
647 <param name="disposing">若要释放托管资源和非托管资源,则为 true;若仅释放非托管资源,则为 false。</param>
649 <member name="P:System.Threading.CancellationTokenSource.IsCancellationRequested">
650 <summary>获取是否已请求取消此 <see cref="T:System.Threading.CancellationTokenSource" />。</summary>
651 <returns>如果已请求取消此 <see cref="T:System.Threading.CancellationTokenSource" />,则为 true;否则为 false。</returns>
653 <member name="P:System.Threading.CancellationTokenSource.Token">
654 <summary>获取与此 <see cref="T:System.Threading.CancellationToken" /> 关联的 <see cref="T:System.Threading.CancellationTokenSource" />。</summary>
655 <returns>与此 <see cref="T:System.Threading.CancellationToken" /> 关联的 <see cref="T:System.Threading.CancellationTokenSource" />。</returns>
656 <exception cref="T:System.ObjectDisposedException">The token source has been disposed.</exception>
658 <member name="T:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair">
659 <summary>提供任务计划程序,其用于执行任务,同时确保并发任务可同时运行,而独占任务从不运行。</summary>
661 <member name="M:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.#ctor">
662 <summary>初始化 <see cref="T:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair" /> 类的新实例。</summary>
664 <member name="M:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.#ctor(System.Threading.Tasks.TaskScheduler)">
665 <summary>用指定的计划程序目标初始化 <see cref="T:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair" /> 类的新实例。</summary>
666 <param name="taskScheduler">应执行的目标计划程序。</param>
668 <member name="M:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.#ctor(System.Threading.Tasks.TaskScheduler,System.Int32)">
669 <summary>初始化针对最大并发级别的指定计划程序 <see cref="T:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair" /> 类的新实例。</summary>
670 <param name="taskScheduler">应执行的目标计划程序。</param>
671 <param name="maxConcurrencyLevel">并发运行的最大任务数。</param>
673 <member name="M:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.#ctor(System.Threading.Tasks.TaskScheduler,System.Int32,System.Int32)">
674 <summary>初始化 <see cref="T:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair" /> 类的新实例,该实例针对最大并发级别和最大计划任务数的指定计划程序,并可能作为一个单元来处理。</summary>
675 <param name="taskScheduler">应执行的目标计划程序。</param>
676 <param name="maxConcurrencyLevel">并发运行的最大任务数。</param>
677 <param name="maxItemsPerTask">要处理的被成对用于每一个基础计划任务的最大任务数。</param>
679 <member name="M:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.Complete">
680 <summary>通知不能接受更多任务的计划程序对。</summary>
682 <member name="P:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.Completion">
683 <summary>当调度程序已经完成处理过程时,获取将要完成的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
684 <returns>计划程序完成处理时将完成的异步操作。</returns>
686 <member name="P:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.ConcurrentScheduler">
687 <summary>获取可用于调度任务到此添加线对的 <see cref="T:System.Threading.Tasks.TaskScheduler" />,其中的线对可以与此线对上的其他任务同时运行。</summary>
688 <returns>可用于当前安排任务的对象。</returns>
690 <member name="P:System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.ExclusiveScheduler">
691 <summary>获取可用于调度任务到此添加线对的 <see cref="T:System.Threading.Tasks.TaskScheduler" />,其中的线对必须独占地运行,不考虑此线对上的其他任务。</summary>
692 <returns>可用于安排任务没有与其他任务并发运行的对象。</returns>
694 <member name="T:System.Threading.Tasks.Task">
695 <summary>表示一个异步操作。若要浏览此类型的 .NET Framework 源代码,请参阅引用源。</summary>
697 <member name="M:System.Threading.Tasks.Task.#ctor(System.Action)">
698 <summary>使用指定的操作初始化新的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
699 <param name="action">表示要在任务中执行的代码的委托。</param>
700 <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
702 <member name="M:System.Threading.Tasks.Task.#ctor(System.Action,System.Threading.CancellationToken)">
703 <summary>使用指定的操作和 <see cref="T:System.Threading.Tasks.Task" /> 初始化新的 <see cref="T:System.Threading.CancellationToken" />。</summary>
704 <param name="action">表示要在任务中执行的代码的委托。</param>
705 <param name="cancellationToken">新任务将观察的 <see cref="T:System.Threading.CancellationToken" />。</param>
706 <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed. </exception>
707 <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
709 <member name="M:System.Threading.Tasks.Task.#ctor(System.Action,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions)">
710 <summary>使用指定的操作和创建选项初始化新的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
711 <param name="action">表示要在任务中执行的代码的委托。</param>
712 <param name="cancellationToken">新任务将观察的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
713 <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
714 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has already been disposed.</exception>
715 <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
716 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
718 <member name="M:System.Threading.Tasks.Task.#ctor(System.Action,System.Threading.Tasks.TaskCreationOptions)">
719 <summary>使用指定的操作和创建选项初始化新的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
720 <param name="action">表示要在任务中执行的代码的委托。</param>
721 <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
722 <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
723 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
725 <member name="M:System.Threading.Tasks.Task.#ctor(System.Action{System.Object},System.Object)">
726 <summary>使用指定的操作和状态初始化新的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
727 <param name="action">表示要在任务中执行的代码的委托。</param>
728 <param name="state">一个表示由该操作使用的数据的对象。</param>
729 <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
731 <member name="M:System.Threading.Tasks.Task.#ctor(System.Action{System.Object},System.Object,System.Threading.CancellationToken)">
732 <summary>使用指定的操作、状态和选项初始化新的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
733 <param name="action">表示要在任务中执行的代码的委托。</param>
734 <param name="state">一个表示由该操作使用的数据的对象。</param>
735 <param name="cancellationToken">新任务将观察的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
736 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has already been disposed.</exception>
737 <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
739 <member name="M:System.Threading.Tasks.Task.#ctor(System.Action{System.Object},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions)">
740 <summary>使用指定的操作、状态和选项初始化新的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
741 <param name="action">表示要在任务中执行的代码的委托。</param>
742 <param name="state">一个表示由该操作使用的数据的对象。</param>
743 <param name="cancellationToken">新任务将观察的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
744 <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
745 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has already been disposed.</exception>
746 <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
747 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
749 <member name="M:System.Threading.Tasks.Task.#ctor(System.Action{System.Object},System.Object,System.Threading.Tasks.TaskCreationOptions)">
750 <summary>使用指定的操作、状态和选项初始化新的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
751 <param name="action">表示要在任务中执行的代码的委托。</param>
752 <param name="state">一个表示由该操作使用的数据的对象。</param>
753 <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
754 <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> argument is null.</exception>
755 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
757 <member name="P:System.Threading.Tasks.Task.AsyncState">
758 <summary>获取在创建 <see cref="T:System.Threading.Tasks.Task" /> 时提供的状态对象,如果未提供,则为 null。</summary>
759 <returns>一个 <see cref="T:System.Object" />,表示在创建任务时传递给该任务的状态数据。</returns>
761 <member name="P:System.Threading.Tasks.Task.CompletedTask">
762 <summary>获取一个已成功完成的任务。</summary>
763 <returns>已成功完成的任务。</returns>
765 <member name="M:System.Threading.Tasks.Task.ConfigureAwait(System.Boolean)">
766 <summary>配置用于等待此 <see cref="T:System.Threading.Tasks.Task" />的 awaiter。</summary>
767 <returns>用于的等待此任务的对象。</returns>
768 <param name="continueOnCapturedContext">尝试将延续任务封送回原始上下文,则为 true;否则为 false。</param>
770 <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task})">
771 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时异步执行的延续任务。</summary>
772 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
773 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
774 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
776 <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task},System.Threading.CancellationToken)">
777 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时可接收取消标记并以异步方式执行的延续任务。</summary>
778 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
779 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
780 <param name="cancellationToken">将指派给新的延续任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
781 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created the token has already been disposed. </exception>
782 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
784 <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
785 <summary>创建一个在目标任务完成时按照指定的 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 执行的延续任务。延续任务会收到一个取消标记,并使用指定计划程序。</summary>
786 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
787 <param name="continuationAction">根据在 <paramref name="continuationOptions" /> 中指定的条件运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
788 <param name="cancellationToken">将指派给新的延续任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
789 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
790 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
791 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created the token has already been disposed.</exception>
792 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.-or-The <paramref name="scheduler" /> argument is null.</exception>
793 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
795 <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task},System.Threading.Tasks.TaskContinuationOptions)">
796 <summary>创建一个在目标任务完成时按照指定的 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 执行的延续任务。</summary>
797 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
798 <param name="continuationAction">根据在 <paramref name="continuationOptions" /> 中指定的条件运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
799 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
800 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
801 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
803 <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task},System.Threading.Tasks.TaskScheduler)">
804 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时异步执行的延续任务。延续任务使用指定计划程序。</summary>
805 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
806 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
807 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
808 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
809 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null. -or-The <paramref name="scheduler" /> argument is null.</exception>
811 <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task,System.Object},System.Object)">
812 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时接收调用方提供的状态信息并执行的延续任务。</summary>
813 <returns>一个新的延续任务。</returns>
814 <param name="continuationAction">在任务完成时要运行的操作。运行时,委托作为一个参数传递给完成的任务和调用方提供的状态对象。</param>
815 <param name="state">一个表示由该延续操作使用的数据的对象。</param>
816 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
818 <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task,System.Object},System.Object,System.Threading.CancellationToken)">
819 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时接收调用方提供的状态信息和取消标记,并以异步方式执行的延续任务。</summary>
820 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
821 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
822 <param name="state">一个表示由该延续操作使用的数据的对象。</param>
823 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
824 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
825 <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
827 <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task,System.Object},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
828 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时接收调用方提供的状态信息和取消标记并执行的延续任务。延续任务根据一组指定的条件执行,并使用指定的计划程序。</summary>
829 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
830 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
831 <param name="state">一个表示由该延续操作使用的数据的对象。</param>
832 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
833 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
834 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
835 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
836 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
837 <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
838 <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
840 <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task,System.Object},System.Object,System.Threading.Tasks.TaskContinuationOptions)">
841 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时接收调用方提供的状态信息并执行的延续任务。延续任务根据一组指定的条件执行。</summary>
842 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
843 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
844 <param name="state">一个表示由该延续操作使用的数据的对象。</param>
845 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
846 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
847 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
849 <member name="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task,System.Object},System.Object,System.Threading.Tasks.TaskScheduler)">
850 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时接收调用方提供的状态信息并以异步方式执行的延续任务。延续任务使用指定计划程序。</summary>
851 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
852 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
853 <param name="state">一个表示由该延续操作使用的数据的对象。</param>
854 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
855 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
856 <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
858 <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,``0})">
859 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时异步执行并返回一个值的延续任务。</summary>
860 <returns>一个新的延续任务。</returns>
861 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
862 <typeparam name="TResult"> 延续任务生成的结果的类型。</typeparam>
863 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
864 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
866 <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,``0},System.Threading.CancellationToken)">
867 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时异步执行并返回一个值的延续任务。延续任务收到取消标记。</summary>
868 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
869 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
870 <param name="cancellationToken">将指派给新的延续任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
871 <typeparam name="TResult"> 延续任务生成的结果的类型。</typeparam>
872 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.-or-The <see cref="T:System.Threading.CancellationTokenSource" /> that created the token has already been disposed.</exception>
873 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
875 <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,``0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
876 <summary>创建一个按照指定延续任务选项执行并返回一个值的延续任务。延续任务被传入一个取消标记,并使用指定计划程序。</summary>
877 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
878 <param name="continuationFunction">根据 <paramref name="continuationOptions." /> 中指定的条件运行函数。在运行时,委托将作为一个自变量传递给完成的任务。</param>
879 <param name="cancellationToken">将指派给新的延续任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
880 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
881 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
882 <typeparam name="TResult"> 延续任务生成的结果的类型。</typeparam>
883 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.-or-The <see cref="T:System.Threading.CancellationTokenSource" /> that created the token has already been disposed.</exception>
884 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.-or-The <paramref name="scheduler" /> argument is null.</exception>
885 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
887 <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,``0},System.Threading.Tasks.TaskContinuationOptions)">
888 <summary>创建一个按照指定延续任务选项执行并返回一个值的延续任务。</summary>
889 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
890 <param name="continuationFunction">根据在 <paramref name="continuationOptions" /> 中指定的条件运行的函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
891 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
892 <typeparam name="TResult"> 延续任务生成的结果的类型。</typeparam>
893 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
894 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
895 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
897 <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,``0},System.Threading.Tasks.TaskScheduler)">
898 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时异步执行并返回一个值的延续任务。延续任务使用指定计划程序。</summary>
899 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
900 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
901 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
902 <typeparam name="TResult"> 延续任务生成的结果的类型。</typeparam>
903 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
904 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.-or-The <paramref name="scheduler" /> argument is null.</exception>
906 <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,System.Object,``0},System.Object)">
907 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成并返回一个值时接收调用方提供的状态信息并以异步方式执行的延续任务。</summary>
908 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
909 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
910 <param name="state">一个表示由该延续功能使用的数据的对象。</param>
911 <typeparam name="TResult">延续任务生成的结果的类型。</typeparam>
912 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
914 <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,System.Object,``0},System.Object,System.Threading.CancellationToken)">
915 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成并返回一个值时异步执行的延续任务。延续任务接收调用方提供的状态信息和取消标记。</summary>
916 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
917 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
918 <param name="state">一个表示由该延续功能使用的数据的对象。</param>
919 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
920 <typeparam name="TResult">延续任务生成的结果的类型。</typeparam>
921 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
922 <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
924 <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,System.Object,``0},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
925 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成并返回一个值时根据指定的任务延续选项执行的延续任务。延续任务接收调用方提供的状态信息和取消标记,并使用指定计划程序。</summary>
926 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
927 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
928 <param name="state">一个表示由该延续功能使用的数据的对象。</param>
929 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
930 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
931 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
932 <typeparam name="TResult">延续任务生成的结果的类型。</typeparam>
933 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
934 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
935 <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
936 <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
938 <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,System.Object,``0},System.Object,System.Threading.Tasks.TaskContinuationOptions)">
939 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时根据指定的任务延续选项执行的延续任务。延续任务接收调用方提供的状态信息。</summary>
940 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
941 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
942 <param name="state">一个表示由该延续功能使用的数据的对象。</param>
943 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
944 <typeparam name="TResult">延续任务生成的结果的类型。</typeparam>
945 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
946 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
948 <member name="M:System.Threading.Tasks.Task.ContinueWith``1(System.Func{System.Threading.Tasks.Task,System.Object,``0},System.Object,System.Threading.Tasks.TaskScheduler)">
949 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task" /> 完成时异步执行的延续任务。延续任务接收调用方提供的状态信息,并使用指定计划程序。</summary>
950 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
951 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
952 <param name="state">一个表示由该延续功能使用的数据的对象。</param>
953 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
954 <typeparam name="TResult">延续任务生成的结果的类型。</typeparam>
955 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
956 <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
958 <member name="P:System.Threading.Tasks.Task.CreationOptions">
959 <summary>获取用于创建此任务的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</summary>
960 <returns>用于创建此任务的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</returns>
962 <member name="P:System.Threading.Tasks.Task.CurrentId">
963 <summary>返回当前正在执行 <see cref="T:System.Threading.Tasks.Task" /> 的唯一 ID。</summary>
964 <returns>系统分配给当前正在执行的任务的一个整数。</returns>
966 <member name="M:System.Threading.Tasks.Task.Delay(System.Int32)">
967 <summary>创建将在时间延迟后完成的任务。</summary>
968 <returns>表示时间延迟的任务。</returns>
969 <param name="millisecondsDelay">在完成返回的任务前要等待的毫秒数;如果无限期等待,则为 -1。</param>
970 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="millisecondsDelay" /> argument is less than -1.</exception>
972 <member name="M:System.Threading.Tasks.Task.Delay(System.Int32,System.Threading.CancellationToken)">
973 <summary>创建将在时间延迟后完成的可取消任务。</summary>
974 <returns>表示时间延迟的任务。</returns>
975 <param name="millisecondsDelay">在完成返回的任务前要等待的毫秒数;如果无限期等待,则为 -1。</param>
976 <param name="cancellationToken">将在完成返回的任务之前选中的取消标记。</param>
977 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="millisecondsDelay" /> argument is less than -1. </exception>
978 <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled. </exception>
979 <exception cref="T:System.ObjectDisposedException">The provided <paramref name="cancellationToken" /> has already been disposed. </exception>
981 <member name="M:System.Threading.Tasks.Task.Delay(System.TimeSpan)">
982 <summary>创建一个在指定的时间间隔后完成的任务。</summary>
983 <returns>表示时间延迟的任务。</returns>
984 <param name="delay">在完成返回的任务前等待的时间跨度;如果无限期等待,则为 TimeSpan.FromMilliseconds(-1)。</param>
985 <exception cref="T:System.ArgumentOutOfRangeException">
986 <paramref name="delay" /> represents a negative time interval other than TimeSpan.FromMillseconds(-1). -or-The <paramref name="delay" /> argument's <see cref="P:System.TimeSpan.TotalMilliseconds" /> property is greater than <see cref="F:System.Int32.MaxValue" />. </exception>
988 <member name="M:System.Threading.Tasks.Task.Delay(System.TimeSpan,System.Threading.CancellationToken)">
989 <summary>创建一个在指定的时间间隔后完成的可取消任务。</summary>
990 <returns>表示时间延迟的任务。</returns>
991 <param name="delay">在完成返回的任务前等待的时间跨度;如果无限期等待,则为 TimeSpan.FromMilliseconds(-1)。</param>
992 <param name="cancellationToken">将在完成返回的任务之前选中的取消标记。</param>
993 <exception cref="T:System.ArgumentOutOfRangeException">
994 <paramref name="delay" /> represents a negative time interval other than TimeSpan.FromMillseconds(-1). -or-The <paramref name="delay" /> argument's <see cref="P:System.TimeSpan.TotalMilliseconds" /> property is greater than <see cref="F:System.Int32.MaxValue" />. </exception>
995 <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
996 <exception cref="T:System.ObjectDisposedException">The provided <paramref name="cancellationToken" /> has already been disposed. </exception>
998 <member name="P:System.Threading.Tasks.Task.Exception">
999 <summary>获取导致 <see cref="T:System.AggregateException" /> 提前结束的 <see cref="T:System.Threading.Tasks.Task" />。如果 <see cref="T:System.Threading.Tasks.Task" /> 成功完成或尚未引发任何异常,这将返回 null。</summary>
1000 <returns>导致 <see cref="T:System.AggregateException" /> 提前结束的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
1002 <member name="P:System.Threading.Tasks.Task.Factory">
1003 <summary>提供对用于创建 <see cref="T:System.Threading.Tasks.Task" /> 和 <see cref="T:System.Threading.Tasks.Task`1" /> 的工厂方法的访问。</summary>
1004 <returns>一个工厂对象,可创建多种 <see cref="T:System.Threading.Tasks.Task" /> 和 <see cref="T:System.Threading.Tasks.Task`1" /> 对象。</returns>
1006 <member name="M:System.Threading.Tasks.Task.FromCanceled(System.Threading.CancellationToken)">
1007 <summary>创建 <see cref="T:System.Threading.Tasks.Task" />,它因指定的取消标记进行的取消操作而完成。</summary>
1008 <returns>取消的任务。</returns>
1009 <param name="cancellationToken">完成任务的取消标记。</param>
1011 <member name="M:System.Threading.Tasks.Task.FromCanceled``1(System.Threading.CancellationToken)">
1012 <summary>创建 <see cref="T:System.Threading.Tasks.Task`1" />,它因指定的取消标记进行的取消操作而完成。</summary>
1013 <returns>取消的任务。</returns>
1014 <param name="cancellationToken">完成任务的取消标记。</param>
1015 <typeparam name="TResult">任务返回的结果的类型。</typeparam>
1017 <member name="M:System.Threading.Tasks.Task.FromException``1(System.Exception)">
1018 <summary>创建 <see cref="T:System.Threading.Tasks.Task`1" />,它是以指定的异常来完成的。</summary>
1019 <returns>出错的任务。</returns>
1020 <param name="exception">完成任务的异常。</param>
1021 <typeparam name="TResult">任务返回的结果的类型。</typeparam>
1023 <member name="M:System.Threading.Tasks.Task.FromException(System.Exception)">
1024 <summary>创建 <see cref="T:System.Threading.Tasks.Task" />,它是以指定的异常来完成的。</summary>
1025 <returns>出错的任务。</returns>
1026 <param name="exception">完成任务的异常。</param>
1028 <member name="M:System.Threading.Tasks.Task.FromResult``1(``0)">
1029 <summary>创建指定结果的、成功完成的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
1030 <returns>已成功完成的任务。</returns>
1031 <param name="result">存储入已完成任务的结果。</param>
1032 <typeparam name="TResult">任务返回的结果的类型。</typeparam>
1034 <member name="M:System.Threading.Tasks.Task.GetAwaiter">
1035 <summary>获取用于等待此 <see cref="T:System.Threading.Tasks.Task" /> 的 awaiter。</summary>
1036 <returns>一个 awaiter 实例。</returns>
1038 <member name="P:System.Threading.Tasks.Task.Id">
1039 <summary>获取此 <see cref="T:System.Threading.Tasks.Task" /> 实例的唯一 ID。</summary>
1040 <returns>系统分配给此任务实例的一个整数。</returns>
1042 <member name="P:System.Threading.Tasks.Task.IsCanceled">
1043 <summary>获取此 <see cref="T:System.Threading.Tasks.Task" /> 实例是否由于被取消的原因而已完成执行。</summary>
1044 <returns>如果任务由于被取消而完成,则为 true;否则为 false。</returns>
1046 <member name="P:System.Threading.Tasks.Task.IsCompleted">
1047 <summary>获取此 <see cref="T:System.Threading.Tasks.Task" /> 是否已完成。</summary>
1048 <returns>如果任务已完成,则为 true;否则为 false。</returns>
1050 <member name="P:System.Threading.Tasks.Task.IsFaulted">
1051 <summary>获取 <see cref="T:System.Threading.Tasks.Task" /> 是否由于未经处理异常的原因而完成。</summary>
1052 <returns>如果任务引发了未经处理的异常,则为 true;否则为 false。</returns>
1054 <member name="M:System.Threading.Tasks.Task.Run(System.Action)">
1055 <summary>将在线程池上运行的指定工作排队,并返回该工作的任务句柄。</summary>
1056 <returns>表示在线程池执行的队列的任务。</returns>
1057 <param name="action">以异步方式执行的工作量。</param>
1058 <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> parameter was null.</exception>
1060 <member name="M:System.Threading.Tasks.Task.Run(System.Action,System.Threading.CancellationToken)">
1061 <summary>将在线程池上运行的指定工作排队,并返回该工作的任务句柄。</summary>
1062 <returns>表示在线程池执行的队列的任务。</returns>
1063 <param name="action">以异步方式执行的工作量。</param>
1064 <param name="cancellationToken">应用以取消工作的取消标记</param>
1065 <exception cref="T:System.ArgumentNullException">The <paramref name="action" /> parameter was null.</exception>
1066 <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
1067 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with <paramref name="cancellationToken" /> was disposed.</exception>
1069 <member name="M:System.Threading.Tasks.Task.Run``1(System.Func{System.Threading.Tasks.Task{``0}})">
1070 <summary>将在线程池上运行的指定工作排队,并返回 Task(TResult) 返回的 <paramref name="function" /> 的代理项。</summary>
1071 <returns>表示由 Task(TResult) 返回的 Task(TResult) 的代理的 <paramref name="function" />。</returns>
1072 <param name="function">以异步方式执行的工作量。</param>
1073 <typeparam name="TResult">代理任务返回的结果的类型。</typeparam>
1074 <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter was null.</exception>
1076 <member name="M:System.Threading.Tasks.Task.Run``1(System.Func{System.Threading.Tasks.Task{``0}},System.Threading.CancellationToken)">
1077 <summary>将在线程池上运行的指定工作排队,并返回 Task(TResult) 返回的 <paramref name="function" /> 的代理项。</summary>
1078 <returns>表示由 Task(TResult) 返回的 Task(TResult) 的代理的 <paramref name="function" />。</returns>
1079 <param name="function">以异步方式执行的工作量。</param>
1080 <param name="cancellationToken">应用以取消工作的取消标记</param>
1081 <typeparam name="TResult">代理任务返回的结果的类型。</typeparam>
1082 <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter was null.</exception>
1083 <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
1084 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with <paramref name="cancellationToken" /> was disposed.</exception>
1086 <member name="M:System.Threading.Tasks.Task.Run(System.Func{System.Threading.Tasks.Task})">
1087 <summary>将在线程池上运行的指定工作排队,并返回 <paramref name="function" /> 返回的任务的代理项。</summary>
1088 <returns>表示由 <paramref name="function" /> 返回的任务代理的任务。</returns>
1089 <param name="function">以异步方式执行的工作量。</param>
1090 <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter was null.</exception>
1092 <member name="M:System.Threading.Tasks.Task.Run(System.Func{System.Threading.Tasks.Task},System.Threading.CancellationToken)">
1093 <summary>将在线程池上运行的指定工作排队,并返回 <paramref name="function" /> 返回的任务的代理项。</summary>
1094 <returns>表示由 <paramref name="function" /> 返回的任务代理的任务。</returns>
1095 <param name="function">以异步方式执行的工作。</param>
1096 <param name="cancellationToken">应用以取消工作的取消标记。</param>
1097 <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter was null.</exception>
1098 <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
1099 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with <paramref name="cancellationToken" /> was disposed.</exception>
1101 <member name="M:System.Threading.Tasks.Task.Run``1(System.Func{``0})">
1102 <summary>将在线程池上运行的指定工作排队,并返回代表该工作的 <see cref="T:System.Threading.Tasks.Task`1" /> 对象。</summary>
1103 <returns>表示在线程池中排队执行的工作的任务对象。</returns>
1104 <param name="function">以异步方式执行的工作。</param>
1105 <typeparam name="TResult">任务的返回类型。</typeparam>
1106 <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter is null. </exception>
1108 <member name="M:System.Threading.Tasks.Task.Run``1(System.Func{``0},System.Threading.CancellationToken)">
1109 <summary>将在线程池上运行的指定工作排队,并返回该工作的 Task(TResult) 句柄。</summary>
1110 <returns>表示在线程池执行的队列的 Task(TResult)。</returns>
1111 <param name="function">以异步方式执行的工作量。</param>
1112 <param name="cancellationToken">应用以取消工作的取消标记</param>
1113 <typeparam name="TResult">任务的结果类型。</typeparam>
1114 <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> parameter was null.</exception>
1115 <exception cref="T:System.Threading.Tasks.TaskCanceledException">The task has been canceled.</exception>
1116 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> associated with <paramref name="cancellationToken" /> was disposed.</exception>
1118 <member name="M:System.Threading.Tasks.Task.RunSynchronously">
1119 <summary>对当前的 <see cref="T:System.Threading.Tasks.Task" /> 同步运行 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</summary>
1120 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> instance has been disposed.</exception>
1121 <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Threading.Tasks.Task" /> is not in a valid state to be started.It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.</exception>
1123 <member name="M:System.Threading.Tasks.Task.RunSynchronously(System.Threading.Tasks.TaskScheduler)">
1124 <summary>对提供的 <see cref="T:System.Threading.Tasks.Task" /> 同步运行 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</summary>
1125 <param name="scheduler">尝试对其以内联方式运行此任务的计划程序。</param>
1126 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> instance has been disposed.</exception>
1127 <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
1128 <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Threading.Tasks.Task" /> is not in a valid state to be started.It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.</exception>
1130 <member name="M:System.Threading.Tasks.Task.Start">
1131 <summary>启动 <see cref="T:System.Threading.Tasks.Task" />,并将它安排到当前的 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 中执行。</summary>
1132 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> instance has been disposed.</exception>
1133 <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Threading.Tasks.Task" /> is not in a valid state to be started.It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.</exception>
1135 <member name="M:System.Threading.Tasks.Task.Start(System.Threading.Tasks.TaskScheduler)">
1136 <summary>启动 <see cref="T:System.Threading.Tasks.Task" />,并将它安排到指定的 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 中执行。</summary>
1137 <param name="scheduler">要与之关联并执行此任务的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
1138 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> instance has been disposed.</exception>
1139 <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
1140 <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Threading.Tasks.Task" /> is not in a valid state to be started.It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.</exception>
1142 <member name="P:System.Threading.Tasks.Task.Status">
1143 <summary>获取此任务的 <see cref="T:System.Threading.Tasks.TaskStatus" />。</summary>
1144 <returns>此任务实例的当前 <see cref="T:System.Threading.Tasks.TaskStatus" />。</returns>
1146 <member name="P:System.Threading.Tasks.Task.System#IAsyncResult#AsyncWaitHandle">
1147 <summary>获取可用于等待任务完成的 <see cref="T:System.Threading.WaitHandle" />。</summary>
1148 <returns>可用于等待任务完成的 <see cref="T:System.Threading.WaitHandle" />。</returns>
1149 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
1151 <member name="P:System.Threading.Tasks.Task.System#IAsyncResult#CompletedSynchronously">
1152 <summary>获取操作是否已同步完成的指示。</summary>
1153 <returns>如果操作同步完成,则为 true;否则为 false。</returns>
1155 <member name="M:System.Threading.Tasks.Task.Wait">
1156 <summary>等待 <see cref="T:System.Threading.Tasks.Task" /> 完成执行过程。</summary>
1157 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
1158 <exception cref="T:System.AggregateException">The task was canceled.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.-or-An exception was thrown during the execution of the task.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
1160 <member name="M:System.Threading.Tasks.Task.Wait(System.Int32)">
1161 <summary>等待 <see cref="T:System.Threading.Tasks.Task" /> 在指定的毫秒数内完成执行。</summary>
1162 <returns>如果在分配的时间内 true 完成执行,则为 <see cref="T:System.Threading.Tasks.Task" />;否则为 false。</returns>
1163 <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
1164 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
1165 <exception cref="T:System.ArgumentOutOfRangeException">
1166 <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
1167 <exception cref="T:System.AggregateException">The task was canceled.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.-or-An exception was thrown during the execution of the task.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
1169 <member name="M:System.Threading.Tasks.Task.Wait(System.Int32,System.Threading.CancellationToken)">
1170 <summary>等待 <see cref="T:System.Threading.Tasks.Task" /> 完成执行过程。如果在任务完成之前超时间隔结束或取消标记已取消,等待将终止。</summary>
1171 <returns>如果在分配的时间内 true 完成执行,则为 <see cref="T:System.Threading.Tasks.Task" />;否则为 false。</returns>
1172 <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
1173 <param name="cancellationToken">等待任务完成期间要观察的取消标记。</param>
1174 <exception cref="T:System.OperationCanceledException">The <paramref name="cancellationToken" /> was canceled.</exception>
1175 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
1176 <exception cref="T:System.ArgumentOutOfRangeException">
1177 <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
1178 <exception cref="T:System.AggregateException">The task was canceled.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.-or-An exception was thrown during the execution of the task.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
1180 <member name="M:System.Threading.Tasks.Task.Wait(System.Threading.CancellationToken)">
1181 <summary>等待 <see cref="T:System.Threading.Tasks.Task" /> 完成执行过程。如果在任务完成之前取消标记已取消,等待将终止。</summary>
1182 <param name="cancellationToken">等待任务完成期间要观察的取消标记。</param>
1183 <exception cref="T:System.OperationCanceledException">The <paramref name="cancellationToken" /> was canceled.</exception>
1184 <exception cref="T:System.ObjectDisposedException">The task has been disposed.</exception>
1185 <exception cref="T:System.AggregateException">The task was canceled.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.-or-An exception was thrown during the execution of the task.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
1187 <member name="M:System.Threading.Tasks.Task.Wait(System.TimeSpan)">
1188 <summary>等待 <see cref="T:System.Threading.Tasks.Task" /> 在指定的时间间隔内完成执行。</summary>
1189 <returns>如果在分配的时间内 true 完成执行,则为 <see cref="T:System.Threading.Tasks.Task" />;否则为 false。</returns>
1190 <param name="timeout">表示等待毫秒数的 <see cref="T:System.TimeSpan" />,或表示 -1 毫秒(无限期等待)的 <see cref="T:System.TimeSpan" />。</param>
1191 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
1192 <exception cref="T:System.ArgumentOutOfRangeException">
1193 <paramref name="timeout" /> is a negative number other than -1 milliseconds, which represents an infinite time-out. -or-<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" />. </exception>
1194 <exception cref="T:System.AggregateException">The task was canceled.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.-or-An exception was thrown during the execution of the task.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
1196 <member name="M:System.Threading.Tasks.Task.WaitAll(System.Threading.Tasks.Task[])">
1197 <summary>等待提供的所有 <see cref="T:System.Threading.Tasks.Task" /> 对象完成执行过程。</summary>
1198 <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
1199 <exception cref="T:System.ObjectDisposedException">One or more of the <see cref="T:System.Threading.Tasks.Task" /> objects in <paramref name="tasks" /> has been disposed.</exception>
1200 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.-or-The <paramref name="tasks" /> argument contains a null element.</exception>
1201 <exception cref="T:System.AggregateException">At least one of the <see cref="T:System.Threading.Tasks.Task" /> instances was canceled.If a task was canceled, the <see cref="T:System.AggregateException" /> exception contains an <see cref="T:System.OperationCanceledException" /> exception in its <see cref="P:System.AggregateException.InnerExceptions" /> collection.-or-An exception was thrown during the execution of at least one of the <see cref="T:System.Threading.Tasks.Task" /> instances. </exception>
1203 <member name="M:System.Threading.Tasks.Task.WaitAll(System.Threading.Tasks.Task[],System.Int32)">
1204 <summary>等待所有提供的 <see cref="T:System.Threading.Tasks.Task" /> 在指定的毫秒数内完成执行。</summary>
1205 <returns>如果在分配的时间内所有 true 实例都已完成执行,则为 <see cref="T:System.Threading.Tasks.Task" />;否则为 false。</returns>
1206 <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
1207 <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
1208 <exception cref="T:System.ObjectDisposedException">One or more of the <see cref="T:System.Threading.Tasks.Task" /> objects in <paramref name="tasks" /> has been disposed.</exception>
1209 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
1210 <exception cref="T:System.AggregateException">At least one of the <see cref="T:System.Threading.Tasks.Task" /> instances was canceled.If a task was canceled, the <see cref="T:System.AggregateException" /> contains an <see cref="T:System.OperationCanceledException" /> in its <see cref="P:System.AggregateException.InnerExceptions" /> collection.-or-An exception was thrown during the execution of at least one of the <see cref="T:System.Threading.Tasks.Task" /> instances. </exception>
1211 <exception cref="T:System.ArgumentOutOfRangeException">
1212 <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
1213 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
1215 <member name="M:System.Threading.Tasks.Task.WaitAll(System.Threading.Tasks.Task[],System.Int32,System.Threading.CancellationToken)">
1216 <summary>等待提供的所有 <see cref="T:System.Threading.Tasks.Task" /> 对象在指定的毫秒数内完成执行,或等到取消等待。</summary>
1217 <returns>如果在分配的时间内所有 true 实例都已完成执行,则为 <see cref="T:System.Threading.Tasks.Task" />;否则为 false。</returns>
1218 <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
1219 <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
1220 <param name="cancellationToken">等待任务完成期间要观察的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
1221 <exception cref="T:System.ObjectDisposedException">One or more of the <see cref="T:System.Threading.Tasks.Task" /> objects in <paramref name="tasks" /> has been disposed.</exception>
1222 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
1223 <exception cref="T:System.AggregateException">At least one of the <see cref="T:System.Threading.Tasks.Task" /> instances was canceled.If a task was canceled, the <see cref="T:System.AggregateException" /> contains an <see cref="T:System.OperationCanceledException" /> in its <see cref="P:System.AggregateException.InnerExceptions" /> collection.-or-An exception was thrown during the execution of at least one of the <see cref="T:System.Threading.Tasks.Task" /> instances. </exception>
1224 <exception cref="T:System.ArgumentOutOfRangeException">
1225 <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
1226 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
1227 <exception cref="T:System.OperationCanceledException">The <paramref name="cancellationToken" /> was canceled. </exception>
1229 <member name="M:System.Threading.Tasks.Task.WaitAll(System.Threading.Tasks.Task[],System.Threading.CancellationToken)">
1230 <summary>等待提供的所有 <see cref="T:System.Threading.Tasks.Task" /> 对象完成执行过程(除非取消等待)。</summary>
1231 <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
1232 <param name="cancellationToken">等待任务完成期间要观察的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
1233 <exception cref="T:System.OperationCanceledException">The <paramref name="cancellationToken" /> was canceled. </exception>
1234 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
1235 <exception cref="T:System.AggregateException">At least one of the <see cref="T:System.Threading.Tasks.Task" /> instances was canceled.If a task was canceled, the <see cref="T:System.AggregateException" /> contains an <see cref="T:System.OperationCanceledException" /> in its <see cref="P:System.AggregateException.InnerExceptions" /> collection.-or-An exception was thrown during the execution of at least one of the <see cref="T:System.Threading.Tasks.Task" /> instances. </exception>
1236 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
1237 <exception cref="T:System.ObjectDisposedException">One or more of the <see cref="T:System.Threading.Tasks.Task" /> objects in <paramref name="tasks" /> has been disposed.</exception>
1239 <member name="M:System.Threading.Tasks.Task.WaitAll(System.Threading.Tasks.Task[],System.TimeSpan)">
1240 <summary>等待所有提供的可取消 <see cref="T:System.Threading.Tasks.Task" /> 对象在指定的时间间隔内完成执行。</summary>
1241 <returns>如果在分配的时间内所有 true 实例都已完成执行,则为 <see cref="T:System.Threading.Tasks.Task" />;否则为 false。</returns>
1242 <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
1243 <param name="timeout">表示等待毫秒数的 <see cref="T:System.TimeSpan" />,或表示 -1 毫秒(无限期等待)的 <see cref="T:System.TimeSpan" />。</param>
1244 <exception cref="T:System.ObjectDisposedException">One or more of the <see cref="T:System.Threading.Tasks.Task" /> objects in <paramref name="tasks" /> has been disposed.</exception>
1245 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null. </exception>
1246 <exception cref="T:System.AggregateException">At least one of the <see cref="T:System.Threading.Tasks.Task" /> instances was canceled.If a task was canceled, the <see cref="T:System.AggregateException" /> contains an <see cref="T:System.OperationCanceledException" /> in its <see cref="P:System.AggregateException.InnerExceptions" /> collection.-or-An exception was thrown during the execution of at least one of the <see cref="T:System.Threading.Tasks.Task" /> instances. </exception>
1247 <exception cref="T:System.ArgumentOutOfRangeException">
1248 <paramref name="timeout" /> is a negative number other than -1 milliseconds, which represents an infinite time-out. -or-<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" />. </exception>
1249 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
1251 <member name="M:System.Threading.Tasks.Task.WaitAny(System.Threading.Tasks.Task[])">
1252 <summary>等待提供的任一 <see cref="T:System.Threading.Tasks.Task" /> 对象完成执行过程。</summary>
1253 <returns>已完成的任务在 <paramref name="tasks" /> 数组参数中的索引。</returns>
1254 <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
1255 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
1256 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
1257 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
1259 <member name="M:System.Threading.Tasks.Task.WaitAny(System.Threading.Tasks.Task[],System.Int32)">
1260 <summary>等待任何提供的 <see cref="T:System.Threading.Tasks.Task" /> 对象在指定的毫秒数内完成执行。</summary>
1261 <returns>已完成的任务在 <paramref name="tasks" /> 数组参数中的索引,如果发生超时,则为 -1。</returns>
1262 <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
1263 <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
1264 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
1265 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
1266 <exception cref="T:System.ArgumentOutOfRangeException">
1267 <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
1268 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
1270 <member name="M:System.Threading.Tasks.Task.WaitAny(System.Threading.Tasks.Task[],System.Int32,System.Threading.CancellationToken)">
1271 <summary>等待提供的任何 <see cref="T:System.Threading.Tasks.Task" /> 对象在指定的毫秒数内完成执行,或等到取消标记取消。</summary>
1272 <returns>已完成的任务在 <paramref name="tasks" /> 数组参数中的索引,如果发生超时,则为 -1。</returns>
1273 <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
1274 <param name="millisecondsTimeout">等待的毫秒数,或为 <see cref="F:System.Threading.Timeout.Infinite" /> (-1),表示无限期等待。</param>
1275 <param name="cancellationToken">等待任务完成期间要观察的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
1276 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
1277 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
1278 <exception cref="T:System.ArgumentOutOfRangeException">
1279 <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
1280 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
1281 <exception cref="T:System.OperationCanceledException">The <paramref name="cancellationToken" /> was canceled. </exception>
1283 <member name="M:System.Threading.Tasks.Task.WaitAny(System.Threading.Tasks.Task[],System.Threading.CancellationToken)">
1284 <summary>等待提供的任何 <see cref="T:System.Threading.Tasks.Task" /> 对象完成执行过程(除非取消等待)。</summary>
1285 <returns>已完成的任务在 <paramref name="tasks" /> 数组参数中的索引。</returns>
1286 <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
1287 <param name="cancellationToken">等待任务完成期间要观察的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
1288 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
1289 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
1290 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
1291 <exception cref="T:System.OperationCanceledException">The <paramref name="cancellationToken" /> was canceled.</exception>
1293 <member name="M:System.Threading.Tasks.Task.WaitAny(System.Threading.Tasks.Task[],System.TimeSpan)">
1294 <summary>等待任何提供的 <see cref="T:System.Threading.Tasks.Task" /> 对象在指定的时间间隔内完成执行。</summary>
1295 <returns>已完成的任务在 <paramref name="tasks" /> 数组参数中的索引,如果发生超时,则为 -1。</returns>
1296 <param name="tasks">要等待的 <see cref="T:System.Threading.Tasks.Task" /> 实例的数组。</param>
1297 <param name="timeout">表示等待毫秒数的 <see cref="T:System.TimeSpan" />,或表示 -1 毫秒(无限期等待)的 <see cref="T:System.TimeSpan" />。</param>
1298 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task" /> has been disposed.</exception>
1299 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument is null.</exception>
1300 <exception cref="T:System.ArgumentOutOfRangeException">
1301 <paramref name="timeout" /> is a negative number other than -1 milliseconds, which represents an infinite time-out. -or-<paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" />. </exception>
1302 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> argument contains a null element.</exception>
1304 <member name="M:System.Threading.Tasks.Task.WhenAll``1(System.Collections.Generic.IEnumerable{System.Threading.Tasks.Task{``0}})">
1305 <summary>创建一个任务,该任务将在可枚举集合中的所有 <see cref="T:System.Threading.Tasks.Task`1" /> 对象都完成时完成。</summary>
1306 <returns>表示所有提供的任务的完成情况的任务。</returns>
1307 <param name="tasks">等待完成的任务。</param>
1308 <typeparam name="TResult">已完成任务的类型。</typeparam>
1309 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null.</exception>
1310 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> collection contained a null task. </exception>
1312 <member name="M:System.Threading.Tasks.Task.WhenAll(System.Collections.Generic.IEnumerable{System.Threading.Tasks.Task})">
1313 <summary>创建一个任务,该任务将在可枚举集合中的所有 <see cref="T:System.Threading.Tasks.Task" /> 对象都完成时完成。</summary>
1314 <returns>表示所有提供的任务的完成情况的任务。</returns>
1315 <param name="tasks">等待完成的任务。</param>
1316 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null. </exception>
1317 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> collection contained a null task.</exception>
1319 <member name="M:System.Threading.Tasks.Task.WhenAll(System.Threading.Tasks.Task[])">
1320 <summary>创建一个任务,该任务将在数组中的所有 <see cref="T:System.Threading.Tasks.Task" /> 对象都完成时完成。</summary>
1321 <returns>表示所有提供的任务的完成情况的任务。</returns>
1322 <param name="tasks">等待完成的任务。</param>
1323 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null. </exception>
1324 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> array contained a null task. </exception>
1326 <member name="M:System.Threading.Tasks.Task.WhenAll``1(System.Threading.Tasks.Task{``0}[])">
1327 <summary>创建一个任务,该任务将在数组中的所有 <see cref="T:System.Threading.Tasks.Task`1" /> 对象都完成时完成。</summary>
1328 <returns>表示所有提供的任务的完成情况的任务。</returns>
1329 <param name="tasks">等待完成的任务。</param>
1330 <typeparam name="TResult">已完成任务的类型。</typeparam>
1331 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null.</exception>
1332 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> array contained a null task.</exception>
1334 <member name="M:System.Threading.Tasks.Task.WhenAny``1(System.Collections.Generic.IEnumerable{System.Threading.Tasks.Task{``0}})">
1335 <summary>任何提供的任务已完成时,创建将完成的任务。</summary>
1336 <returns>表示提供的任务之一已完成的任务。返回任务的结果是完成的任务。</returns>
1337 <param name="tasks">等待完成的任务。</param>
1338 <typeparam name="TResult">已完成任务的类型。</typeparam>
1339 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null.</exception>
1340 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> array contained a null task, or was empty.</exception>
1342 <member name="M:System.Threading.Tasks.Task.WhenAny(System.Collections.Generic.IEnumerable{System.Threading.Tasks.Task})">
1343 <summary>任何提供的任务已完成时,创建将完成的任务。</summary>
1344 <returns>表示提供的任务之一已完成的任务。返回任务的结果是完成的任务。</returns>
1345 <param name="tasks">等待完成的任务。</param>
1346 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null.</exception>
1347 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> array contained a null task, or was empty.</exception>
1349 <member name="M:System.Threading.Tasks.Task.WhenAny(System.Threading.Tasks.Task[])">
1350 <summary>任何提供的任务已完成时,创建将完成的任务。</summary>
1351 <returns>表示提供的任务之一已完成的任务。返回任务的结果是完成的任务。</returns>
1352 <param name="tasks">等待完成的任务。</param>
1353 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null.</exception>
1354 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> array contained a null task, or was empty.</exception>
1356 <member name="M:System.Threading.Tasks.Task.WhenAny``1(System.Threading.Tasks.Task{``0}[])">
1357 <summary>任何提供的任务已完成时,创建将完成的任务。</summary>
1358 <returns>表示提供的任务之一已完成的任务。返回任务的结果是完成的任务。</returns>
1359 <param name="tasks">等待完成的任务。</param>
1360 <typeparam name="TResult">已完成任务的类型。</typeparam>
1361 <exception cref="T:System.ArgumentNullException">The <paramref name="tasks" /> argument was null.</exception>
1362 <exception cref="T:System.ArgumentException">The <paramref name="tasks" /> array contained a null task, or was empty.</exception>
1364 <member name="M:System.Threading.Tasks.Task.Yield">
1365 <summary>创建异步产生当前上下文的等待任务。</summary>
1366 <returns>等待时,上下文将异步转换回等待时的当前上下文。如果当前 <see cref="T:System.Threading.SynchronizationContext" /> 不为 null,则将其视为当前上下文。否则,与当前执行任务关联的任务计划程序将视为当前上下文。</returns>
1368 <member name="T:System.Threading.Tasks.Task`1">
1369 <summary>表示一个可以返回值的异步操作。</summary>
1370 <typeparam name="TResult">此 <see cref="T:System.Threading.Tasks.Task`1" /> 生成的结果的类型。</typeparam>
1372 <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{`0})">
1373 <summary>使用指定的函数初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
1374 <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
1375 <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
1377 <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{`0},System.Threading.CancellationToken)">
1378 <summary>使用指定的函数初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
1379 <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
1380 <param name="cancellationToken">将指派给此任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
1381 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created<paramref name=" cancellationToken" /> has already been disposed.</exception>
1382 <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
1384 <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{`0},System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions)">
1385 <summary>使用指定的函数和创建选项初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
1386 <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
1387 <param name="cancellationToken">将指派给新任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
1388 <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
1389 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created<paramref name=" cancellationToken" /> has already been disposed.</exception>
1390 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
1391 <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
1393 <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{`0},System.Threading.Tasks.TaskCreationOptions)">
1394 <summary>使用指定的函数和创建选项初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
1395 <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
1396 <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
1397 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
1398 <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
1400 <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{System.Object,`0},System.Object)">
1401 <summary>使用指定的函数和状态初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
1402 <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
1403 <param name="state">一个表示由该操作使用的数据的对象。</param>
1404 <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
1406 <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{System.Object,`0},System.Object,System.Threading.CancellationToken)">
1407 <summary>使用指定的操作、状态和选项初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
1408 <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
1409 <param name="state">一个表示将由此函数使用的数据的对象。</param>
1410 <param name="cancellationToken">将指派给此新任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
1411 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created<paramref name=" cancellationToken" /> has already been disposed.</exception>
1412 <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
1414 <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{System.Object,`0},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions)">
1415 <summary>使用指定的操作、状态和选项初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
1416 <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
1417 <param name="state">一个表示将由此函数使用的数据的对象。</param>
1418 <param name="cancellationToken">将指派给此新任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
1419 <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
1420 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.CancellationTokenSource" /> that created<paramref name=" cancellationToken" /> has already been disposed.</exception>
1421 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
1422 <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
1424 <member name="M:System.Threading.Tasks.Task`1.#ctor(System.Func{System.Object,`0},System.Object,System.Threading.Tasks.TaskCreationOptions)">
1425 <summary>使用指定的操作、状态和选项初始化新的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
1426 <param name="function">表示要在任务中执行的代码的委托。在完成此函数后,该任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性将设置为返回此函数的结果值。</param>
1427 <param name="state">一个表示将由此函数使用的数据的对象。</param>
1428 <param name="creationOptions">用于自定义任务的行为的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
1429 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="creationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskCreationOptions" />.</exception>
1430 <exception cref="T:System.ArgumentNullException">The <paramref name="function" /> argument is null.</exception>
1432 <member name="M:System.Threading.Tasks.Task`1.ConfigureAwait(System.Boolean)">
1433 <summary>配置用于等待此 <see cref="T:System.Threading.Tasks.Task`1" />的 awaiter。</summary>
1434 <returns>用于的等待此任务的对象。</returns>
1435 <param name="continueOnCapturedContext">尝试将延续任务封送回原始上下文,则为 true;否则为 false。</param>
1437 <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0}})">
1438 <summary>创建一个在目标任务完成时异步执行的延续任务。</summary>
1439 <returns>一个新的延续任务。</returns>
1440 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
1441 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed. </exception>
1442 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null. </exception>
1444 <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0}},System.Threading.CancellationToken)">
1445 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时异步执行的可取消延续任务。</summary>
1446 <returns>一个新的延续任务。</returns>
1447 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。在运行时,委托作为一个参数传递给完成的任务。</param>
1448 <param name="cancellationToken">传递给新的延续任务的取消标记。</param>
1449 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.-or-The <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has been disposed. </exception>
1450 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null. </exception>
1452 <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0}},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
1453 <summary>创建根据 <paramref name="continuationOptions" /> 中指定的条件加以执行的延续任务。</summary>
1454 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
1455 <param name="continuationAction">根据在 <paramref name="continuationOptions" /> 中指定的条件运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
1456 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
1457 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
1458 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
1459 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.-or-The <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has already been disposed.</exception>
1460 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.-or-The <paramref name="scheduler" /> argument is null.</exception>
1461 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
1463 <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0}},System.Threading.Tasks.TaskContinuationOptions)">
1464 <summary>创建根据 <paramref name="continuationOptions" /> 中指定的条件加以执行的延续任务。</summary>
1465 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
1466 <param name="continuationAction">在 <paramref name="continuationOptions" /> 中指定的条件的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
1467 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
1468 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.</exception>
1469 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
1470 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
1472 <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0}},System.Threading.Tasks.TaskScheduler)">
1473 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时异步执行的延续任务。</summary>
1474 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
1475 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。在运行时,委托将作为一个参数传递给完成的任务。</param>
1476 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
1477 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.</exception>
1478 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.-or-The <paramref name="scheduler" /> argument is null.</exception>
1480 <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0},System.Object},System.Object)">
1481 <summary>创建一个传递了状态信息并在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
1482 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
1483 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。运行时,委托作为一个参数传递给完成的任务和调用方提供的状态对象。</param>
1484 <param name="state">一个表示由该延续操作使用的数据的对象。</param>
1485 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
1487 <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0},System.Object},System.Object,System.Threading.CancellationToken)">
1488 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
1489 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
1490 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
1491 <param name="state">一个表示由该延续操作使用的数据的对象。</param>
1492 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
1493 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
1494 <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
1496 <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0},System.Object},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
1497 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
1498 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
1499 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
1500 <param name="state">一个表示由该延续操作使用的数据的对象。</param>
1501 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
1502 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
1503 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
1504 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
1505 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
1506 <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
1507 <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
1509 <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0},System.Object},System.Object,System.Threading.Tasks.TaskContinuationOptions)">
1510 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
1511 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
1512 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
1513 <param name="state">一个表示由该延续操作使用的数据的对象。</param>
1514 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
1515 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null.</exception>
1516 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
1518 <member name="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0},System.Object},System.Object,System.Threading.Tasks.TaskScheduler)">
1519 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
1520 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
1521 <param name="continuationAction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的操作。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
1522 <param name="state">一个表示由该延续操作使用的数据的对象。</param>
1523 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
1524 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationAction" /> argument is null. </exception>
1525 <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null. </exception>
1527 <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},``0})">
1528 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时异步执行的延续任务。</summary>
1529 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
1530 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
1531 <typeparam name="TNewResult"> 延续任务生成的结果的类型。</typeparam>
1532 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.</exception>
1533 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
1535 <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},``0},System.Threading.CancellationToken)">
1536 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时异步执行的延续任务。</summary>
1537 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
1538 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
1539 <param name="cancellationToken">将指派给新任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
1540 <typeparam name="TNewResult"> 延续任务生成的结果的类型。</typeparam>
1541 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.-or-The <see cref="T:System.Threading.CancellationTokenSource" /> that created<paramref name=" cancellationToken" /> has already been disposed.</exception>
1542 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
1544 <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},``0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
1545 <summary>创建根据 <paramref name="continuationOptions" /> 中指定的条件加以执行的延续任务。</summary>
1546 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
1547 <param name="continuationFunction">根据 <paramref name="continuationOptions" /> 中指定的条件运行函数。在运行时,委托将作为一个参数传递给此完成的任务。</param>
1548 <param name="cancellationToken">将指派给新任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
1549 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
1550 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
1551 <typeparam name="TNewResult"> 延续任务生成的结果的类型。</typeparam>
1552 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.-or-The <see cref="T:System.Threading.CancellationTokenSource" /> that created<paramref name=" cancellationToken" /> has already been disposed.</exception>
1553 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.-or-The <paramref name="scheduler" /> argument is null.</exception>
1554 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
1556 <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},``0},System.Threading.Tasks.TaskContinuationOptions)">
1557 <summary>创建根据 <paramref name="continuationOptions" /> 中指定的条件加以执行的延续任务。</summary>
1558 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
1559 <param name="continuationFunction">根据 <paramref name="continuationOptions" /> 中指定的条件运行函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
1560 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
1561 <typeparam name="TNewResult"> 延续任务生成的结果的类型。</typeparam>
1562 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.</exception>
1563 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
1564 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
1566 <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},``0},System.Threading.Tasks.TaskScheduler)">
1567 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时异步执行的延续任务。</summary>
1568 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
1569 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。在运行时,委托将作为一个参数传递给完成的任务。</param>
1570 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
1571 <typeparam name="TNewResult"> 延续任务生成的结果的类型。</typeparam>
1572 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.Tasks.Task`1" /> has been disposed.</exception>
1573 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.-or-The <paramref name="scheduler" /> argument is null.</exception>
1575 <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},System.Object,``0},System.Object)">
1576 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
1577 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
1578 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
1579 <param name="state">一个表示由该延续功能使用的数据的对象。</param>
1580 <typeparam name="TNewResult">延续任务生成的结果的类型。</typeparam>
1581 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
1583 <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},System.Object,``0},System.Object,System.Threading.CancellationToken)">
1584 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
1585 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
1586 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
1587 <param name="state">一个表示由该延续功能使用的数据的对象。</param>
1588 <param name="cancellationToken">将指派给新任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
1589 <typeparam name="TNewResult">延续任务生成的结果的类型。</typeparam>
1590 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
1591 <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
1593 <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},System.Object,``0},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
1594 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
1595 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
1596 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
1597 <param name="state">一个表示由该延续功能使用的数据的对象。</param>
1598 <param name="cancellationToken">将指派给新任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
1599 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
1600 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
1601 <typeparam name="TNewResult">延续任务生成的结果的类型。</typeparam>
1602 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
1603 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
1604 <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
1605 <exception cref="T:System.ObjectDisposedException">The provided <see cref="T:System.Threading.CancellationToken" /> has already been disposed.</exception>
1607 <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},System.Object,``0},System.Object,System.Threading.Tasks.TaskContinuationOptions)">
1608 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
1609 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
1610 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
1611 <param name="state">一个表示由该延续功能使用的数据的对象。</param>
1612 <param name="continuationOptions">用于设置计划延续任务的时间以及延续任务的工作方式的选项。这包括条件(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled" />)和执行选项(如 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />)。</param>
1613 <typeparam name="TNewResult">延续任务生成的结果的类型。</typeparam>
1614 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
1615 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="continuationOptions" /> argument specifies an invalid value for <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />.</exception>
1617 <member name="M:System.Threading.Tasks.Task`1.ContinueWith``1(System.Func{System.Threading.Tasks.Task{`0},System.Object,``0},System.Object,System.Threading.Tasks.TaskScheduler)">
1618 <summary>创建一个在目标 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时执行的延续任务。</summary>
1619 <returns>一个新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
1620 <param name="continuationFunction">在 <see cref="T:System.Threading.Tasks.Task`1" /> 完成时要运行的函数。运行时,将传递委托,如完成的任务一样,调用方提供的状态对象(如参数)。</param>
1621 <param name="state">一个表示由该延续功能使用的数据的对象。</param>
1622 <param name="scheduler">要与延续任务关联并用于其执行过程的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
1623 <typeparam name="TNewResult">延续任务生成的结果的类型。</typeparam>
1624 <exception cref="T:System.ArgumentNullException">The <paramref name="continuationFunction" /> argument is null.</exception>
1625 <exception cref="T:System.ArgumentNullException">The <paramref name="scheduler" /> argument is null.</exception>
1627 <member name="P:System.Threading.Tasks.Task`1.Factory">
1628 <summary>提供对用于创建和配置 <see cref="T:System.Threading.Tasks.Task`1" /> 实例的工厂方法的访问。</summary>
1629 <returns>一个工厂对象,可创建多种 <see cref="T:System.Threading.Tasks.Task`1" /> 对象。</returns>
1631 <member name="M:System.Threading.Tasks.Task`1.GetAwaiter">
1632 <summary>获取用于等待此 <see cref="T:System.Threading.Tasks.Task`1" /> 的 awaiter。</summary>
1633 <returns>一个 awaiter 实例。</returns>
1635 <member name="P:System.Threading.Tasks.Task`1.Result">
1636 <summary>获取此 <see cref="T:System.Threading.Tasks.Task`1" /> 的结果值。</summary>
1637 <returns>此 <see cref="T:System.Threading.Tasks.Task`1" /> 的结果值,该值类型与任务参数类型相同。</returns>
1638 <exception cref="T:System.AggregateException">The task was canceled.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains a <see cref="T:System.Threading.Tasks.TaskCanceledException" /> object.-or-An exception was thrown during the execution of the task.The <see cref="P:System.AggregateException.InnerExceptions" /> collection contains information about the exception or exceptions.</exception>
1640 <member name="T:System.Threading.Tasks.TaskCanceledException">
1641 <summary>表示一个用于告知任务取消的异常。</summary>
1643 <member name="M:System.Threading.Tasks.TaskCanceledException.#ctor">
1644 <summary>使用由系统提供的用来描述错误的消息初始化 <see cref="T:System.Threading.Tasks.TaskCanceledException" /> 类的新实例。</summary>
1646 <member name="M:System.Threading.Tasks.TaskCanceledException.#ctor(System.String)">
1647 <summary>使用指定的描述错误的消息初始化 <see cref="T:System.Threading.Tasks.TaskCanceledException" /> 类的新实例。</summary>
1648 <param name="message">描述该异常的消息。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。</param>
1650 <member name="M:System.Threading.Tasks.TaskCanceledException.#ctor(System.String,System.Exception)">
1651 <summary>使用指定错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.Threading.Tasks.TaskCanceledException" /> 类的新实例。</summary>
1652 <param name="message">描述该异常的消息。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。</param>
1653 <param name="innerException">导致当前异常的异常。如果 <paramref name="innerException" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
1655 <member name="M:System.Threading.Tasks.TaskCanceledException.#ctor(System.Threading.Tasks.Task)">
1656 <summary>使用对已取消的 <see cref="T:System.Threading.Tasks.Task" /> 的引用初始化 <see cref="T:System.Threading.Tasks.TaskCanceledException" /> 类的新实例。</summary>
1657 <param name="task">已取消的任务。</param>
1659 <member name="P:System.Threading.Tasks.TaskCanceledException.Task">
1660 <summary>获取与此异常关联的任务。</summary>
1661 <returns>对与此异常关联的 <see cref="T:System.Threading.Tasks.Task" /> 的引用。</returns>
1663 <member name="T:System.Threading.Tasks.TaskCompletionSource`1">
1664 <summary>表示未绑定到委托的 <see cref="T:System.Threading.Tasks.Task`1" /> 的制造者方,并通过 <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> 属性提供对使用者方的访问。</summary>
1665 <typeparam name="TResult">与此 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" /> 关联的结果值的类型。</typeparam>
1667 <member name="M:System.Threading.Tasks.TaskCompletionSource`1.#ctor">
1668 <summary>创建一个 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" />。</summary>
1670 <member name="M:System.Threading.Tasks.TaskCompletionSource`1.#ctor(System.Object)">
1671 <summary>使用指定的状态创建一个 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" />。</summary>
1672 <param name="state">要用作基础 <see cref="T:System.Threading.Tasks.Task`1" /> 的 AsyncState 的状态。</param>
1674 <member name="M:System.Threading.Tasks.TaskCompletionSource`1.#ctor(System.Object,System.Threading.Tasks.TaskCreationOptions)">
1675 <summary>使用指定的状态和选项创建一个 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" />。</summary>
1676 <param name="state">要用作基础 <see cref="T:System.Threading.Tasks.Task`1" /> 的 AsyncState 的状态。</param>
1677 <param name="creationOptions">创建基础 <see cref="T:System.Threading.Tasks.Task`1" /> 时要使用的选项。</param>
1678 <exception cref="T:System.ArgumentOutOfRangeException">
1679 <paramref name="creationOptions" /> 表示与 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" /> 一起使用时无效的选项。</exception>
1681 <member name="M:System.Threading.Tasks.TaskCompletionSource`1.#ctor(System.Threading.Tasks.TaskCreationOptions)">
1682 <summary>使用指定的选项创建一个 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" />。</summary>
1683 <param name="creationOptions">创建基础 <see cref="T:System.Threading.Tasks.Task`1" /> 时要使用的选项。</param>
1684 <exception cref="T:System.ArgumentOutOfRangeException">
1685 <paramref name="creationOptions" /> 表示与 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" /> 一起使用时无效的选项。</exception>
1687 <member name="M:System.Threading.Tasks.TaskCompletionSource`1.SetCanceled">
1688 <summary>将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" /> 状态。</summary>
1689 <exception cref="T:System.InvalidOperationException">基础 <see cref="T:System.Threading.Tasks.Task`1" /> 已经处于三个最终状态之一: <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />、 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 或 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />;或者基础 <see cref="T:System.Threading.Tasks.Task`1" /> 已被释放。</exception>
1691 <member name="M:System.Threading.Tasks.TaskCompletionSource`1.SetException(System.Collections.Generic.IEnumerable{System.Exception})">
1692 <summary>将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 状态。</summary>
1693 <param name="exceptions">要绑定到此 <see cref="T:System.Threading.Tasks.Task`1" /> 的异常的集合。</param>
1694 <exception cref="T:System.ObjectDisposedException">
1695 <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> 已处理。</exception>
1696 <exception cref="T:System.ArgumentNullException">
1697 <paramref name="exceptions" /> 参数为 null。</exception>
1698 <exception cref="T:System.ArgumentException">在 <paramref name="exceptions" /> 中有一个或多个 null 元素。</exception>
1699 <exception cref="T:System.InvalidOperationException">基础 <see cref="T:System.Threading.Tasks.Task`1" /> 已经处于三个最终状态之一: <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />、<see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 或 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />。</exception>
1701 <member name="M:System.Threading.Tasks.TaskCompletionSource`1.SetException(System.Exception)">
1702 <summary>将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 状态。</summary>
1703 <param name="exception">要绑定到此 <see cref="T:System.Threading.Tasks.Task`1" /> 的异常。</param>
1704 <exception cref="T:System.ObjectDisposedException">
1705 <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> 已处理。</exception>
1706 <exception cref="T:System.ArgumentNullException">
1707 <paramref name="exception" /> 参数为 null。</exception>
1708 <exception cref="T:System.InvalidOperationException">基础 <see cref="T:System.Threading.Tasks.Task`1" /> 已经处于三个最终状态之一: <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />、<see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 或 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />。</exception>
1710 <member name="M:System.Threading.Tasks.TaskCompletionSource`1.SetResult(`0)">
1711 <summary>将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" /> 状态。</summary>
1712 <param name="result">要绑定到此 <see cref="T:System.Threading.Tasks.Task`1" /> 的结果值。</param>
1713 <exception cref="T:System.ObjectDisposedException">
1714 <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> 已处理。</exception>
1715 <exception cref="T:System.InvalidOperationException">基础 <see cref="T:System.Threading.Tasks.Task`1" /> 已经处于三个最终状态之一: <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />、<see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 或 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />。</exception>
1717 <member name="P:System.Threading.Tasks.TaskCompletionSource`1.Task">
1718 <summary>获取由此 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" /> 创建的 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
1719 <returns>返回由此 <see cref="T:System.Threading.Tasks.TaskCompletionSource`1" /> 创建的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
1721 <member name="M:System.Threading.Tasks.TaskCompletionSource`1.TrySetCanceled">
1722 <summary>尝试将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" /> 状态。</summary>
1723 <returns>如果操作成功,则为 true;如果操作失败或对象已被释放,则为 false。</returns>
1725 <member name="M:System.Threading.Tasks.TaskCompletionSource`1.TrySetCanceled(System.Threading.CancellationToken)">
1726 <summary>尝试,则过渡基础<see cref="T:System.Threading.Tasks.Task`1" />到<see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />状态,并使用于存储在已取消的任务的取消标记。</summary>
1727 <returns>如果操作成功,则为 true;否则为 false。</returns>
1728 <param name="cancellationToken">取消标记。 </param>
1730 <member name="M:System.Threading.Tasks.TaskCompletionSource`1.TrySetException(System.Collections.Generic.IEnumerable{System.Exception})">
1731 <summary>尝试将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 状态。</summary>
1732 <returns>如果操作成功,则为 true;否则为 false。</returns>
1733 <param name="exceptions">要绑定到此 <see cref="T:System.Threading.Tasks.Task`1" /> 的异常的集合。</param>
1734 <exception cref="T:System.ObjectDisposedException">
1735 <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> 已处理。</exception>
1736 <exception cref="T:System.ArgumentNullException">
1737 <paramref name="exceptions" /> 参数为 null。</exception>
1738 <exception cref="T:System.ArgumentException">在 <paramref name="exceptions" /> 中有一个或多个 null 元素。- 或 -<paramref name="exceptions" /> 集合是空的。</exception>
1740 <member name="M:System.Threading.Tasks.TaskCompletionSource`1.TrySetException(System.Exception)">
1741 <summary>尝试将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" /> 状态。</summary>
1742 <returns>如果操作成功,则为 true;否则为 false。</returns>
1743 <param name="exception">要绑定到此 <see cref="T:System.Threading.Tasks.Task`1" /> 的异常。</param>
1744 <exception cref="T:System.ObjectDisposedException">
1745 <see cref="P:System.Threading.Tasks.TaskCompletionSource`1.Task" /> 已处理。</exception>
1746 <exception cref="T:System.ArgumentNullException">
1747 <paramref name="exception" /> 参数为 null。</exception>
1749 <member name="M:System.Threading.Tasks.TaskCompletionSource`1.TrySetResult(`0)">
1750 <summary>尝试将基础 <see cref="T:System.Threading.Tasks.Task`1" /> 转换为 <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" /> 状态。</summary>
1751 <returns>如果操作成功,则为 true;否则为 false。</returns>
1752 <param name="result">要绑定到此 <see cref="T:System.Threading.Tasks.Task`1" /> 的结果值。</param>
1754 <member name="T:System.Threading.Tasks.TaskContinuationOptions">
1755 <summary>为通过使用 <see cref="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)" /> 或 <see cref="M:System.Threading.Tasks.Task`1.ContinueWith(System.Action{System.Threading.Tasks.Task{`0}},System.Threading.Tasks.TaskContinuationOptions)" /> 方法创建的任务指定行为。</summary>
1757 <member name="F:System.Threading.Tasks.TaskContinuationOptions.AttachedToParent">
1758 <summary>如果延续为子任务,则指定将延续附加到任务层次结构中的父级。只有当延续前面的任务也是子任务时,延续才可以是子任务。默认情况下,子任务(即由外部任务创建的内部任务)将独立于其父任务执行。可以使用 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.AttachedToParent" /> 选项以便将父任务和子任务同步。请注意,如果使用 <see cref="F:System.Threading.Tasks.TaskCreationOptions.DenyChildAttach" /> 选项配置父任务,则子任务中的 <see cref="F:System.Threading.Tasks.TaskCreationOptions.AttachedToParent" /> 选项不起作用,并且子任务将作为分离的子任务执行。有关详细信息,请参阅附加和分离的子任务。</summary>
1760 <member name="F:System.Threading.Tasks.TaskContinuationOptions.DenyChildAttach">
1761 <summary>指定任何使用 <see cref="F:System.Threading.Tasks.TaskCreationOptions.AttachedToParent" /> 选项创建,并尝试作为附加的子任务执行的子任务(即,由此延续创建的任何嵌套内部任务)都无法附加到父任务,会改成作为分离的子任务执行。有关详细信息,请参阅已附加和已分离的子任务。</summary>
1763 <member name="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously">
1764 <summary>指定应同步执行延续任务。指定此选项后,延续任务在导致前面的任务转换为其最终状态的相同线程上运行。如果在创建延续任务时已经完成前面的任务,则延续任务将在创建此延续任务的线程上运行。如果前面任务的 <see cref="T:System.Threading.CancellationTokenSource" /> 已在一个 finally(在 Visual Basic 中为 Finally)块中释放,则使用此选项的延续任务将在该 finally 块中运行。只应同步执行运行时间非常短的延续任务。由于任务以同步方式执行,因此无需调用诸如 <see cref="M:System.Threading.Tasks.Task.Wait" /> 的方法来确保调用线程等待任务完成。</summary>
1766 <member name="F:System.Threading.Tasks.TaskContinuationOptions.HideScheduler">
1767 <summary>指定由延续通过调用方法 <see cref="M:System.Threading.Tasks.Task.Run(System.Action)" /> 或 <see cref="M:System.Threading.Tasks.Task.ContinueWith(System.Action{System.Threading.Tasks.Task})" /> 创建的任务视默认计划程序 (<see cref="P:System.Threading.Tasks.TaskScheduler.Default" />) 为当前的计划程序,而不是正在运行该延续的计划程序。 </summary>
1769 <member name="F:System.Threading.Tasks.TaskContinuationOptions.LazyCancellation">
1770 <summary>在延续取消的情况下,防止延续的完成直到完成先前的任务。</summary>
1772 <member name="F:System.Threading.Tasks.TaskContinuationOptions.LongRunning">
1773 <summary>指定延续将是长期运行的、粗粒度的操作。它会向 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 提示,过度订阅可能是合理的。</summary>
1775 <member name="F:System.Threading.Tasks.TaskContinuationOptions.None">
1776 <summary>如果未指定延续选项,应在执行延续任务时使用指定的默认行为。延续任务在前面的任务完成后以异步方式运行,与前面任务最终的 <see cref="P:System.Threading.Tasks.Task.Status" /> 属性值无关。如果延续为子任务,则会将其创建为分离的嵌套任务。</summary>
1778 <member name="F:System.Threading.Tasks.TaskContinuationOptions.NotOnCanceled">
1779 <summary>指定不应在延续任务前面的任务已取消的情况下安排延续任务。如果前面任务完成的 <see cref="P:System.Threading.Tasks.Task.Status" /> 属性是 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />,则前面的任务会取消。此选项对多任务延续无效。</summary>
1781 <member name="F:System.Threading.Tasks.TaskContinuationOptions.NotOnFaulted">
1782 <summary>指定不应在延续任务前面的任务引发了未处理异常的情况下安排延续任务。如果前面任务完成的 <see cref="P:System.Threading.Tasks.Task.Status" /> 属性是 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" />,则前面的任务会引发未处理的异常。此选项对多任务延续无效。</summary>
1784 <member name="F:System.Threading.Tasks.TaskContinuationOptions.NotOnRanToCompletion">
1785 <summary>指定不应在延续任务前面的任务已完成运行的情况下安排延续任务。如果前面任务完成的 <see cref="P:System.Threading.Tasks.Task.Status" /> 属性是 <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />,则前面的任务会运行直至完成。此选项对多任务延续无效。</summary>
1787 <member name="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnCanceled">
1788 <summary>指定只应在延续前面的任务已取消的情况下安排延续任务。如果前面任务完成的 <see cref="P:System.Threading.Tasks.Task.Status" /> 属性是 <see cref="F:System.Threading.Tasks.TaskStatus.Canceled" />,则前面的任务会取消。此选项对多任务延续无效。</summary>
1790 <member name="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnFaulted">
1791 <summary>指定只有在延续任务前面的任务引发了未处理异常的情况下才应安排延续任务。如果前面任务完成的 <see cref="P:System.Threading.Tasks.Task.Status" /> 属性是 <see cref="F:System.Threading.Tasks.TaskStatus.Faulted" />,则前面的任务会引发未处理的异常。<see cref="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnFaulted" /> 选项可保证前面任务中的 <see cref="P:System.Threading.Tasks.Task.Exception" /> 属性不是 null。你可以使用该属性来捕获异常,并确定导致任务出错的异常。如果你不访问 <see cref="P:System.Threading.Tasks.Task.Exception" /> 属性,则不会处理异常。此外,如果尝试访问已取消或出错的任务的 <see cref="P:System.Threading.Tasks.Task`1.Result" /> 属性,则会引发一个新异常。此选项对多任务延续无效。</summary>
1793 <member name="F:System.Threading.Tasks.TaskContinuationOptions.OnlyOnRanToCompletion">
1794 <summary>指定只应在延续任务前面的任务已完成运行的情况下才安排延续任务。如果前面任务完成的 <see cref="P:System.Threading.Tasks.Task.Status" /> 属性是 <see cref="F:System.Threading.Tasks.TaskStatus.RanToCompletion" />,则前面的任务会运行直至完成。此选项对多任务延续无效。</summary>
1796 <member name="F:System.Threading.Tasks.TaskContinuationOptions.PreferFairness">
1797 <summary>提示 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 按任务计划的顺序安排任务,因此较早安排的任务将更可能较早运行,而较晚安排运行的任务将更可能较晚运行。</summary>
1799 <member name="F:System.Threading.Tasks.TaskContinuationOptions.RunContinuationsAsynchronously">
1800 <summary>指定应异步运行延续任务。此选项优先于 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.ExecuteSynchronously" />。</summary>
1802 <member name="T:System.Threading.Tasks.TaskCreationOptions">
1803 <summary>指定用于控制任务的创建和执行的可选行为的标志。</summary>
1805 <member name="F:System.Threading.Tasks.TaskCreationOptions.AttachedToParent">
1806 <summary>指定将任务附加到任务层次结构中的某个父级。默认情况下,子任务(即由外部任务创建的内部任务)将独立于其父任务执行。可以使用 <see cref="F:System.Threading.Tasks.TaskContinuationOptions.AttachedToParent" /> 选项以便将父任务和子任务同步。请注意,如果使用 <see cref="F:System.Threading.Tasks.TaskCreationOptions.DenyChildAttach" /> 选项配置父任务,则子任务中的 <see cref="F:System.Threading.Tasks.TaskCreationOptions.AttachedToParent" /> 选项不起作用,并且子任务将作为分离的子任务执行。有关详细信息,请参阅附加和分离的子任务。</summary>
1808 <member name="F:System.Threading.Tasks.TaskCreationOptions.DenyChildAttach">
1809 <summary>指定任何尝试作为附加的子任务执行(即,使用 <see cref="F:System.Threading.Tasks.TaskCreationOptions.AttachedToParent" /> 选项创建)的子任务都无法附加到父任务,会改成作为分离的子任务执行。有关更多信息,请参见 已附加和已分离的子任务。</summary>
1811 <member name="F:System.Threading.Tasks.TaskCreationOptions.HideScheduler">
1812 <summary>防止环境计划程序被视为已创建任务的当前计划程序。这意味着像 StartNew 或 ContinueWith 创建任务的执行操作将被视为 <see cref="P:System.Threading.Tasks.TaskScheduler.Default" /> 当前计划程序。</summary>
1814 <member name="F:System.Threading.Tasks.TaskCreationOptions.LongRunning">
1815 <summary>指定任务将是长时间运行的、粗粒度的操作,涉及比细化的系统更少、更大的组件。它会向 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 提示,过度订阅可能是合理的。可以通过过度订阅创建比可用硬件线程数更多的线程。</summary>
1817 <member name="F:System.Threading.Tasks.TaskCreationOptions.None">
1818 <summary>指定应使用默认行为。</summary>
1820 <member name="F:System.Threading.Tasks.TaskCreationOptions.PreferFairness">
1821 <summary>提示 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 以一种尽可能公平的方式安排任务,这意味着较早安排的任务将更可能较早运行,而较晚安排运行的任务将更可能较晚运行。</summary>
1823 <member name="F:System.Threading.Tasks.TaskCreationOptions.RunContinuationsAsynchronously">
1824 <summary>强制异步执行添加到当前任务的延续任务。</summary>
1826 <member name="T:System.Threading.Tasks.TaskExtensions">
1827 <summary>提供一组用于处理特定类型的 <see cref="T:System.Threading.Tasks.Task" /> 实例的静态方法(在 Visual Basic 中为共享方法)。</summary>
1829 <member name="M:System.Threading.Tasks.TaskExtensions.Unwrap``1(System.Threading.Tasks.Task{System.Threading.Tasks.Task{``0}})">
1830 <summary>创建一个表示 <see cref="T:System.Threading.Tasks.Task" /> 的异步操作的代理 Task<Task<T>> (C#) or Task (Of Task(Of T)) (Visual Basic)。 </summary>
1831 <returns>一个 <see cref="T:System.Threading.Tasks.Task" /> 它表示所提供的 Task<Task<T>> (C#) 或 Task (Of Task(Of T)) (Visual Basic) 的异步运算。</returns>
1832 <param name="task">要解包的 Task<Task<T>> (C#) 或者 Task (Of Task(Of T)) (Visual Basic)。</param>
1833 <typeparam name="TResult">任务结果的类型。</typeparam>
1834 <exception cref="T:System.ArgumentNullException">
1835 <paramref name="task" /> 参数为 null 时引发的异常。</exception>
1837 <member name="M:System.Threading.Tasks.TaskExtensions.Unwrap(System.Threading.Tasks.Task{System.Threading.Tasks.Task})">
1838 <summary>创建一个表示 <see cref="M:System.Threading.Tasks.TaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task,System.Boolean)" /> 的异步操作的代理 <see cref="T:System.Threading.Tasks.Task" />。</summary>
1839 <returns>表示所提供的 System.Threading.Tasks.Task(Of Task) 的异步操作的 Task。</returns>
1840 <param name="task">要解包的 Task<Task> (C#) 或者 Task (Of Task) (Visual Basic)。</param>
1841 <exception cref="T:System.ArgumentNullException">
1842 <paramref name="task" /> 参数为 null 时引发的异常。</exception>
1844 <member name="T:System.Threading.Tasks.TaskFactory">
1845 <summary>提供对创建和计划 <see cref="T:System.Threading.Tasks.Task" /> 对象的支持。</summary>
1847 <member name="M:System.Threading.Tasks.TaskFactory.#ctor">
1848 <summary>使用默认配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory" /> 实例。</summary>
1850 <member name="M:System.Threading.Tasks.TaskFactory.#ctor(System.Threading.CancellationToken)">
1851 <summary>使用指定配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory" /> 实例。</summary>
1852 <param name="cancellationToken">将指派给由此 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /> 创建的任务的 <see cref="T:System.Threading.Tasks.TaskFactory" />,除非在调用工厂方法时显式指定另一个 CancellationToken。</param>
1854 <member name="M:System.Threading.Tasks.TaskFactory.#ctor(System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
1855 <summary>使用指定配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory" /> 实例。</summary>
1856 <param name="cancellationToken">将指派给由此 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /> 创建的任务的 <see cref="T:System.Threading.Tasks.TaskFactory" />,除非在调用工厂方法时显式指定另一个 CancellationToken。</param>
1857 <param name="creationOptions">在使用此 TaskFactory 创建任务时要使用的默认 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
1858 <param name="continuationOptions">在使用此 TaskFactory 创建延续任务时要使用的默认 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />。</param>
1859 <param name="scheduler">要用于计划使用此 TaskFactory 创建的任何任务的默认 <see cref="T:System.Threading.Tasks.TaskScheduler" />。一个 null 值,该值指示应使用 TaskScheduler.Current。</param>
1860 <exception cref="T:System.ArgumentOutOfRangeException">
1861 <paramref name="creationOptions" /> 参数指定的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" /> 值无效。有关详细信息,请参阅的备注部分 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" />。- 或 -<paramref name="continuationOptions" /> 参数指定的值无效。 </exception>
1863 <member name="M:System.Threading.Tasks.TaskFactory.#ctor(System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskContinuationOptions)">
1864 <summary>使用指定配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory" /> 实例。</summary>
1865 <param name="creationOptions">在使用此 TaskFactory 创建任务时要使用的默认 <see cref="T:System.Threading.Tasks.TaskCreationOptions" />。</param>
1866 <param name="continuationOptions">在使用此 TaskFactory 创建延续任务时要使用的默认 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" />。</param>
1867 <exception cref="T:System.ArgumentOutOfRangeException">
1868 <paramref name="creationOptions" /> 参数指定的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" /> 值无效。有关详细信息,请参阅的备注部分 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" />。- 或 -<paramref name="continuationOptions" /> 参数指定的值无效。 </exception>
1870 <member name="M:System.Threading.Tasks.TaskFactory.#ctor(System.Threading.Tasks.TaskScheduler)">
1871 <summary>使用指定配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory" /> 实例。</summary>
1872 <param name="scheduler">要用于计划使用此 TaskFactory 创建的任何任务的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。一个 null 值,该值指示应使用当前的 TaskScheduler。</param>
1874 <member name="P:System.Threading.Tasks.TaskFactory.CancellationToken">
1875 <summary>获取此任务工厂的默认取消标记。</summary>
1876 <returns>此任务工厂的默认任务取消标记。</returns>
1878 <member name="P:System.Threading.Tasks.TaskFactory.ContinuationOptions">
1879 <summary>获取此任务工厂的默认任务继续选项。</summary>
1880 <returns>此任务工厂的默认任务继续选项。</returns>
1882 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task[]})">
1883 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
1884 <returns>新的延续任务。</returns>
1885 <param name="tasks">继续执行的任务所在的数组。</param>
1886 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
1887 <exception cref="T:System.ObjectDisposedException">
1888 <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
1889 <exception cref="T:System.ArgumentNullException">
1890 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。</exception>
1891 <exception cref="T:System.ArgumentException">
1892 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
1894 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task[]},System.Threading.CancellationToken)">
1895 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
1896 <returns>新的延续任务。</returns>
1897 <param name="tasks">继续执行的任务所在的数组。</param>
1898 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
1899 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
1900 <exception cref="T:System.ObjectDisposedException">
1901 <paramref name="tasks" /> 数组中的一个元素已被释放。- 或 -创建了 <see cref="T:System.Threading.CancellationTokenSource" /> 的 <paramref name="cancellationToken" /> 已经被释放。</exception>
1902 <exception cref="T:System.ArgumentNullException">
1903 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。</exception>
1904 <exception cref="T:System.ArgumentException">
1905 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
1907 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task[]},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
1908 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
1909 <returns>新的延续任务。</returns>
1910 <param name="tasks">继续执行的任务所在的数组。</param>
1911 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
1912 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
1913 <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。</param>
1914 <param name="scheduler">用于计划新的延续任务的对象。</param>
1915 <exception cref="T:System.ArgumentNullException">
1916 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
1917 <exception cref="T:System.ArgumentException">
1918 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
1920 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task[]},System.Threading.Tasks.TaskContinuationOptions)">
1921 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
1922 <returns>新的延续任务。</returns>
1923 <param name="tasks">继续执行的任务所在的数组。</param>
1924 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
1925 <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。NotOn* 和 OnlyOn* 成员不受支持。</param>
1926 <exception cref="T:System.ObjectDisposedException">
1927 <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
1928 <exception cref="T:System.ArgumentNullException">
1929 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。</exception>
1930 <exception cref="T:System.ArgumentOutOfRangeException">
1931 <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
1932 <exception cref="T:System.ArgumentException">
1933 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
1935 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],``0})">
1936 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
1937 <returns>新的延续任务。</returns>
1938 <param name="tasks">继续执行的任务所在的数组。</param>
1939 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
1940 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
1941 <exception cref="T:System.ObjectDisposedException">
1942 <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
1943 <exception cref="T:System.ArgumentNullException">
1944 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
1945 <exception cref="T:System.ArgumentException">
1946 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
1948 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],``0},System.Threading.CancellationToken)">
1949 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
1950 <returns>新的延续任务。</returns>
1951 <param name="tasks">继续执行的任务所在的数组。</param>
1952 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
1953 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
1954 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
1955 <exception cref="T:System.ObjectDisposedException">
1956 <paramref name="tasks" /> 数组中的一个元素已被释放。- 或 -创建了 <see cref="T:System.Threading.CancellationTokenSource" /> 的 <paramref name="cancellationToken" /> 已经被释放。</exception>
1957 <exception cref="T:System.ArgumentNullException">
1958 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
1959 <exception cref="T:System.ArgumentException">
1960 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
1962 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],``0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
1963 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
1964 <returns>新的延续任务。</returns>
1965 <param name="tasks">继续执行的任务所在的数组。</param>
1966 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
1967 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
1968 <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。NotOn* 和 OnlyOn* 成员不受支持。</param>
1969 <param name="scheduler">用于计划新的延续任务的对象。</param>
1970 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
1971 <exception cref="T:System.ArgumentNullException">
1972 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
1973 <exception cref="T:System.ArgumentException">
1974 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
1976 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],``0},System.Threading.Tasks.TaskContinuationOptions)">
1977 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
1978 <returns>新的延续任务。</returns>
1979 <param name="tasks">继续执行的任务所在的数组。</param>
1980 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
1981 <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。NotOn* 和 OnlyOn* 成员不受支持。</param>
1982 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
1983 <exception cref="T:System.ObjectDisposedException">
1984 <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
1985 <exception cref="T:System.ArgumentNullException">
1986 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
1987 <exception cref="T:System.ArgumentOutOfRangeException">
1988 <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
1989 <exception cref="T:System.ArgumentException">
1990 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
1992 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}[]})">
1993 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
1994 <returns>新的延续任务。</returns>
1995 <param name="tasks">继续执行的任务所在的数组。</param>
1996 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
1997 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
1998 <exception cref="T:System.ObjectDisposedException">
1999 <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
2000 <exception cref="T:System.ArgumentNullException">
2001 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。</exception>
2002 <exception cref="T:System.ArgumentException">
2003 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
2005 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}[]},System.Threading.CancellationToken)">
2006 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
2007 <returns>新的延续任务。</returns>
2008 <param name="tasks">继续执行的任务所在的数组。</param>
2009 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
2010 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
2011 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2012 <exception cref="T:System.ObjectDisposedException">
2013 <paramref name="tasks" /> 数组中的一个元素已被释放。- 或 -创建了 <see cref="T:System.Threading.CancellationTokenSource" /> 的 <paramref name="cancellationToken" /> 已经被释放。</exception>
2014 <exception cref="T:System.ArgumentNullException">
2015 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。</exception>
2016 <exception cref="T:System.ArgumentException">
2017 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
2019 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}[]},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
2020 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
2021 <returns>新的延续任务。</returns>
2022 <param name="tasks">继续执行的任务所在的数组。</param>
2023 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
2024 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
2025 <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。NotOn* 和 OnlyOn* 成员不受支持。</param>
2026 <param name="scheduler">用于计划新的延续任务的对象。</param>
2027 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2028 <exception cref="T:System.ArgumentNullException">
2029 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
2030 <exception cref="T:System.ArgumentException">
2031 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
2033 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}[]},System.Threading.Tasks.TaskContinuationOptions)">
2034 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
2035 <returns>新的延续任务。</returns>
2036 <param name="tasks">继续执行的任务所在的数组。</param>
2037 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的所有任务完成时要执行的操作委托。</param>
2038 <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。NotOn* 和 OnlyOn* 成员不受支持。</param>
2039 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2040 <exception cref="T:System.ObjectDisposedException">
2041 <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
2042 <exception cref="T:System.ArgumentNullException">
2043 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。</exception>
2044 <exception cref="T:System.ArgumentOutOfRangeException">
2045 <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
2046 <exception cref="T:System.ArgumentException">
2047 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
2049 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],``1})">
2050 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
2051 <returns>新的延续任务。</returns>
2052 <param name="tasks">继续执行的任务所在的数组。</param>
2053 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
2054 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2055 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
2056 <exception cref="T:System.ObjectDisposedException">
2057 <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
2058 <exception cref="T:System.ArgumentNullException">
2059 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
2060 <exception cref="T:System.ArgumentException">
2061 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
2063 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],``1},System.Threading.CancellationToken)">
2064 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
2065 <returns>新的延续任务。</returns>
2066 <param name="tasks">继续执行的任务所在的数组。</param>
2067 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
2068 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
2069 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2070 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
2071 <exception cref="T:System.ObjectDisposedException">
2072 <paramref name="tasks" /> 数组中的一个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
2073 <exception cref="T:System.ArgumentNullException">
2074 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
2075 <exception cref="T:System.ArgumentException">
2076 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
2078 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],``1},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
2079 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
2080 <returns>新的延续任务。</returns>
2081 <param name="tasks">继续执行的任务所在的数组。</param>
2082 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
2083 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
2084 <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。NotOn* 和 OnlyOn* 成员不受支持。</param>
2085 <param name="scheduler">用于计划新的延续任务的对象。</param>
2086 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2087 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
2088 <exception cref="T:System.ArgumentNullException">
2089 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
2090 <exception cref="T:System.ArgumentException">
2091 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
2092 <exception cref="T:System.ArgumentOutOfRangeException">
2093 <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
2094 <exception cref="T:System.ObjectDisposedException">
2095 <paramref name="tasks" /> 数组中的一个元素已被释放。- 或 -创建了 <see cref="T:System.Threading.CancellationTokenSource" /> 的 <paramref name="cancellationToken" /> 已经被释放。</exception>
2097 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAll``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],``1},System.Threading.Tasks.TaskContinuationOptions)">
2098 <summary>创建一个延续任务,该任务在一组指定的任务完成后开始。</summary>
2099 <returns>新的延续任务。</returns>
2100 <param name="tasks">继续执行的任务所在的数组。</param>
2101 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
2102 <param name="continuationOptions">枚举值的按位组合,这些枚举值控制新的延续任务的行为。NotOn* 和 OnlyOn* 成员不受支持。</param>
2103 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2104 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的任务关联的结果的类型。</typeparam>
2105 <exception cref="T:System.ObjectDisposedException">
2106 <paramref name="tasks" /> 数组中的一个元素已被释放。</exception>
2107 <exception cref="T:System.ArgumentNullException">
2108 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
2109 <exception cref="T:System.ArgumentOutOfRangeException">
2110 <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
2111 <exception cref="T:System.ArgumentException">
2112 <paramref name="tasks" /> 数组为空或包含 null 值。</exception>
2114 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task})">
2115 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2116 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2117 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2118 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
2119 <exception cref="T:System.ObjectDisposedException">
2120 <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
2121 <exception cref="T:System.ArgumentNullException">
2122 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数是 null。</exception>
2123 <exception cref="T:System.ArgumentException">
2124 <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
2126 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task},System.Threading.CancellationToken)">
2127 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2128 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2129 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2130 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
2131 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
2132 <exception cref="T:System.ObjectDisposedException">
2133 <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<paramref name="cancellationToken" /> 已释放。</exception>
2134 <exception cref="T:System.ArgumentNullException">
2135 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationAction" /> 参数为 null。</exception>
2136 <exception cref="T:System.ArgumentException">
2137 <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
2139 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
2140 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2141 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2142 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2143 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
2144 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
2145 <param name="continuationOptions">
2146 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
2147 <param name="scheduler">用于计划所创建的延续 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task" />。</param>
2148 <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationAction" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
2149 <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
2151 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny(System.Threading.Tasks.Task[],System.Action{System.Threading.Tasks.Task},System.Threading.Tasks.TaskContinuationOptions)">
2152 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2153 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2154 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2155 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
2156 <param name="continuationOptions">
2157 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
2158 <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。</exception>
2159 <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationAction" /> 参数为 null 时引发的异常。</exception>
2160 <exception cref="T:System.ArgumentOutOfRangeException">当 <paramref name="continuationOptions" /> 参数指定无效 TaskContinuationOptions 值时引发的异常。</exception>
2161 <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
2163 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,``0})">
2164 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2165 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2166 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2167 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2168 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
2169 <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。</exception>
2170 <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。</exception>
2171 <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
2173 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,``0},System.Threading.CancellationToken)">
2174 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2175 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2176 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2177 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2178 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
2179 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
2180 <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。- 或 -提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
2181 <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。</exception>
2182 <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
2184 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,``0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
2185 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2186 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2187 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2188 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2189 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
2190 <param name="continuationOptions">
2191 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
2192 <param name="scheduler">用于计划所创建的延续 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task`1" />。</param>
2193 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
2194 <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
2195 <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
2197 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,``0},System.Threading.Tasks.TaskContinuationOptions)">
2198 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2199 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2200 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2201 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2202 <param name="continuationOptions">
2203 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
2204 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
2205 <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。</exception>
2206 <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。</exception>
2207 <exception cref="T:System.ArgumentOutOfRangeException">当 <paramref name="continuationOptions" /> 参数指定无效 TaskContinuationOptions 值时引发的异常。</exception>
2208 <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
2210 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}})">
2211 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2212 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2213 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2214 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
2215 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2216 <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。</exception>
2217 <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationAction" /> 参数为 null 时引发的异常。</exception>
2218 <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
2220 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}},System.Threading.CancellationToken)">
2221 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2222 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2223 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2224 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
2225 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
2226 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2227 <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。- 或 -提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
2228 <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationAction" /> 参数为 null 时引发的异常。</exception>
2229 <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
2231 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
2232 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2233 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2234 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2235 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
2236 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
2237 <param name="continuationOptions">
2238 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
2239 <param name="scheduler">用于计划所创建的延续 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task`1" />。</param>
2240 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2241 <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationAction" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
2242 <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
2244 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Action{System.Threading.Tasks.Task{``0}},System.Threading.Tasks.TaskContinuationOptions)">
2245 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2246 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2247 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2248 <param name="continuationAction">在 <paramref name="tasks" /> 数组中的一个任务完成时要执行的操作委托。</param>
2249 <param name="continuationOptions">
2250 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
2251 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2252 <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。</exception>
2253 <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationAction" /> 参数为 null 时引发的异常。</exception>
2254 <exception cref="T:System.ArgumentOutOfRangeException">当 <paramref name="continuationOptions" /> 参数指定无效 TaskContinuationOptions 值时引发的异常。</exception>
2255 <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
2257 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},``1})">
2258 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2259 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2260 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2261 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2262 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2263 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
2264 <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。</exception>
2265 <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。</exception>
2266 <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
2268 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},``1},System.Threading.CancellationToken)">
2269 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2270 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2271 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2272 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2273 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
2274 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2275 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
2276 <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。- 或 -提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
2277 <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。</exception>
2278 <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
2280 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},``1},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
2281 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2282 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2283 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2284 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2285 <param name="cancellationToken">将指派给新的延续任务的 <see cref="T:System.Threading.CancellationToken" />。</param>
2286 <param name="continuationOptions">
2287 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
2288 <param name="scheduler">用于计划所创建的延续 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task`1" />。</param>
2289 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2290 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
2291 <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
2292 <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
2294 <member name="M:System.Threading.Tasks.TaskFactory.ContinueWhenAny``2(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},``1},System.Threading.Tasks.TaskContinuationOptions)">
2295 <summary>创建一个延续 <see cref="T:System.Threading.Tasks.Task`1" />,它将在提供的组中的任何任务完成后马上开始。</summary>
2296 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2297 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2298 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2299 <param name="continuationOptions">
2300 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值,用于控制所创建的延续 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
2301 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2302 <typeparam name="TResult">由 <paramref name="continuationFunction" /> 委托返回并与创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 关联的结果的类型。</typeparam>
2303 <exception cref="T:System.ObjectDisposedException">在 <paramref name="tasks" /> 数组中的元素之一已经被释放时引发的异常。</exception>
2304 <exception cref="T:System.ArgumentNullException">当 <paramref name="tasks" /> 数组为 null 时引发的异常。- 或 -当 <paramref name="continuationFunction" /> 参数为 null 时引发的异常。</exception>
2305 <exception cref="T:System.ArgumentOutOfRangeException">当 <paramref name="continuationOptions" /> 参数指定无效 TaskContinuationOptions 值时引发的异常。</exception>
2306 <exception cref="T:System.ArgumentException">当 <paramref name="tasks" /> 数组包含 null 值时引发的异常。- 或 -当 <paramref name="tasks" /> 数组为空时引发的异常。</exception>
2308 <member name="P:System.Threading.Tasks.TaskFactory.CreationOptions">
2309 <summary>获取此任务工厂的默认任务创建选项。</summary>
2310 <returns>此任务工厂的默认任务创建选项。</returns>
2312 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object)">
2313 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2314 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2315 <param name="beginMethod">用于启动异步操作的委托。</param>
2316 <param name="endMethod">用于结束异步操作的委托。</param>
2317 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2318 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2320 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)">
2321 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2322 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2323 <param name="beginMethod">用于启动异步操作的委托。</param>
2324 <param name="endMethod">用于结束异步操作的委托。</param>
2325 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2326 <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
2327 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2328 <exception cref="T:System.ArgumentOutOfRangeException">
2329 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。</exception>
2331 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``1(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``0},System.Object)">
2332 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2333 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2334 <param name="beginMethod">用于启动异步操作的委托。</param>
2335 <param name="endMethod">用于结束异步操作的委托。</param>
2336 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2337 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2338 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2340 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``1(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``0},System.Object,System.Threading.Tasks.TaskCreationOptions)">
2341 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2342 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2343 <param name="beginMethod">用于启动异步操作的委托。</param>
2344 <param name="endMethod">用于结束异步操作的委托。</param>
2345 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2346 <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
2347 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2348 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2349 <exception cref="T:System.ArgumentOutOfRangeException">
2350 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2352 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``1(System.Func{``0,System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},``0,System.Object)">
2353 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2354 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2355 <param name="beginMethod">用于启动异步操作的委托。</param>
2356 <param name="endMethod">用于结束异步操作的委托。</param>
2357 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
2358 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2359 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
2360 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2362 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``1(System.Func{``0,System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},``0,System.Object,System.Threading.Tasks.TaskCreationOptions)">
2363 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2364 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2365 <param name="beginMethod">用于启动异步操作的委托。</param>
2366 <param name="endMethod">用于结束异步操作的委托。</param>
2367 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
2368 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2369 <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
2370 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
2371 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2372 <exception cref="T:System.ArgumentOutOfRangeException">
2373 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2375 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``2(System.Func{``0,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``1},``0,System.Object)">
2376 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2377 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2378 <param name="beginMethod">用于启动异步操作的委托。</param>
2379 <param name="endMethod">用于结束异步操作的委托。</param>
2380 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
2381 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2382 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
2383 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2384 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2386 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``2(System.Func{``0,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``1},``0,System.Object,System.Threading.Tasks.TaskCreationOptions)">
2387 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2388 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2389 <param name="beginMethod">用于启动异步操作的委托。</param>
2390 <param name="endMethod">用于结束异步操作的委托。</param>
2391 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
2392 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2393 <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
2394 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
2395 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2396 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2397 <exception cref="T:System.ArgumentOutOfRangeException">
2398 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2400 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``2(System.Func{``0,``1,System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},``0,``1,System.Object)">
2401 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2402 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2403 <param name="beginMethod">用于启动异步操作的委托。</param>
2404 <param name="endMethod">用于结束异步操作的委托。</param>
2405 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
2406 <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
2407 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2408 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
2409 <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
2410 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2412 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``2(System.Func{``0,``1,System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},``0,``1,System.Object,System.Threading.Tasks.TaskCreationOptions)">
2413 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2414 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2415 <param name="beginMethod">用于启动异步操作的委托。</param>
2416 <param name="endMethod">用于结束异步操作的委托。</param>
2417 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
2418 <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
2419 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2420 <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
2421 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
2422 <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
2423 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2424 <exception cref="T:System.ArgumentOutOfRangeException">
2425 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2427 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``3(System.Func{``0,``1,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``2},``0,``1,System.Object)">
2428 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2429 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2430 <param name="beginMethod">用于启动异步操作的委托。</param>
2431 <param name="endMethod">用于结束异步操作的委托。</param>
2432 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
2433 <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
2434 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2435 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
2436 <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
2437 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2438 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2440 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``3(System.Func{``0,``1,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``2},``0,``1,System.Object,System.Threading.Tasks.TaskCreationOptions)">
2441 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2442 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2443 <param name="beginMethod">用于启动异步操作的委托。</param>
2444 <param name="endMethod">用于结束异步操作的委托。</param>
2445 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
2446 <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
2447 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2448 <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
2449 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
2450 <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
2451 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2452 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2453 <exception cref="T:System.ArgumentOutOfRangeException">
2454 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2456 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``3(System.Func{``0,``1,``2,System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},``0,``1,``2,System.Object)">
2457 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2458 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2459 <param name="beginMethod">用于启动异步操作的委托。</param>
2460 <param name="endMethod">用于结束异步操作的委托。</param>
2461 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
2462 <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
2463 <param name="arg3">传递给 <paramref name="beginMethod" /> 委托的第三个参数。</param>
2464 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2465 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
2466 <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第三个参数的类型。</typeparam>
2467 <typeparam name="TArg3">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
2468 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2470 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``3(System.Func{``0,``1,``2,System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},``0,``1,``2,System.Object,System.Threading.Tasks.TaskCreationOptions)">
2471 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2472 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2473 <param name="beginMethod">用于启动异步操作的委托。</param>
2474 <param name="endMethod">用于结束异步操作的委托。</param>
2475 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
2476 <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
2477 <param name="arg3">传递给 <paramref name="beginMethod" /> 委托的第三个参数。</param>
2478 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2479 <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
2480 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
2481 <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第三个参数的类型。</typeparam>
2482 <typeparam name="TArg3">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
2483 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2484 <exception cref="T:System.ArgumentOutOfRangeException">
2485 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2487 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``4(System.Func{``0,``1,``2,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``3},``0,``1,``2,System.Object)">
2488 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2489 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2490 <param name="beginMethod">用于启动异步操作的委托。</param>
2491 <param name="endMethod">用于结束异步操作的委托。</param>
2492 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
2493 <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
2494 <param name="arg3">传递给 <paramref name="beginMethod" /> 委托的第三个参数。</param>
2495 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2496 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
2497 <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第三个参数的类型。</typeparam>
2498 <typeparam name="TArg3">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
2499 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2500 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2502 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``4(System.Func{``0,``1,``2,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,``3},``0,``1,``2,System.Object,System.Threading.Tasks.TaskCreationOptions)">
2503 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,表示符合异步编程模型模式的成对的开始和结束方法。</summary>
2504 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2505 <param name="beginMethod">用于启动异步操作的委托。</param>
2506 <param name="endMethod">用于结束异步操作的委托。</param>
2507 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
2508 <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
2509 <param name="arg3">传递给 <paramref name="beginMethod" /> 委托的第三个参数。</param>
2510 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
2511 <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
2512 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
2513 <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第三个参数的类型。</typeparam>
2514 <typeparam name="TArg3">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
2515 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2516 <exception cref="T:System.ArgumentNullException">当 <paramref name="beginMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2517 <exception cref="T:System.ArgumentOutOfRangeException">
2518 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2520 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync(System.IAsyncResult,System.Action{System.IAsyncResult})">
2521 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法操作。</summary>
2522 <returns>一个表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2523 <param name="asyncResult">IAsyncResult,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
2524 <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的操作委托。</param>
2525 <exception cref="T:System.ArgumentNullException">当 <paramref name="asyncResult" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2527 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync(System.IAsyncResult,System.Action{System.IAsyncResult},System.Threading.Tasks.TaskCreationOptions)">
2528 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法操作。</summary>
2529 <returns>一个表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2530 <param name="asyncResult">IAsyncResult,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
2531 <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的操作委托。</param>
2532 <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
2533 <exception cref="T:System.ArgumentNullException">当 <paramref name="asyncResult" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2534 <exception cref="T:System.ArgumentOutOfRangeException">
2535 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2537 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync(System.IAsyncResult,System.Action{System.IAsyncResult},System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
2538 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task" />,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法操作。</summary>
2539 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2540 <param name="asyncResult">IAsyncResult,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
2541 <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的操作委托。</param>
2542 <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
2543 <param name="scheduler">用于计划将执行结束方法的任务的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
2544 <exception cref="T:System.ArgumentNullException">当 <paramref name="asyncResult" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
2545 <exception cref="T:System.ArgumentOutOfRangeException">
2546 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2548 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``1(System.IAsyncResult,System.Func{System.IAsyncResult,``0})">
2549 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法函数。</summary>
2550 <returns>一个表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2551 <param name="asyncResult">IAsyncResult,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
2552 <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的函数委托。</param>
2553 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2554 <exception cref="T:System.ArgumentNullException">当 <paramref name="asyncResult" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2556 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``1(System.IAsyncResult,System.Func{System.IAsyncResult,``0},System.Threading.Tasks.TaskCreationOptions)">
2557 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法函数。</summary>
2558 <returns>一个表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2559 <param name="asyncResult">IAsyncResult,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
2560 <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的函数委托。</param>
2561 <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
2562 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2563 <exception cref="T:System.ArgumentNullException">当 <paramref name="asyncResult" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。</exception>
2564 <exception cref="T:System.ArgumentOutOfRangeException">
2565 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2567 <member name="M:System.Threading.Tasks.TaskFactory.FromAsync``1(System.IAsyncResult,System.Func{System.IAsyncResult,``0},System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
2568 <summary>创建一个 <see cref="T:System.Threading.Tasks.Task`1" />,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法函数。</summary>
2569 <returns>一个表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2570 <param name="asyncResult">IAsyncResult,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
2571 <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的函数委托。</param>
2572 <param name="creationOptions">TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
2573 <param name="scheduler">用于计划将执行结束方法的任务的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
2574 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2575 <exception cref="T:System.ArgumentNullException">当 <paramref name="asyncResult" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="endMethod" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
2576 <exception cref="T:System.ArgumentOutOfRangeException">
2577 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2579 <member name="P:System.Threading.Tasks.TaskFactory.Scheduler">
2580 <summary>获取此任务工厂的默认任务计划程序。</summary>
2581 <returns>此任务工厂的默认任务计划程序。</returns>
2583 <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action)">
2584 <summary>创建并启动 任务。</summary>
2585 <returns>已启动的任务。</returns>
2586 <param name="action">要异步执行的操作委托。</param>
2587 <exception cref="T:System.ArgumentNullException">
2588 <paramref name="action" /> 参数为 null。</exception>
2590 <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action,System.Threading.CancellationToken)">
2591 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task" />。</summary>
2592 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2593 <param name="action">要异步执行的操作委托。</param>
2594 <param name="cancellationToken">将指派给新任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
2595 <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
2596 <exception cref="T:System.ArgumentNullException">当 <paramref name="action" /> 参数为 null 时引发的异常。</exception>
2598 <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
2599 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task" />。</summary>
2600 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2601 <param name="action">要异步执行的操作委托。</param>
2602 <param name="cancellationToken">将指派给新 <see cref="T:System.Threading.Tasks.Task" /> 的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /></param>
2603 <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
2604 <param name="scheduler">用于计划所创建的 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task" />。</param>
2605 <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
2606 <exception cref="T:System.ArgumentNullException">当 <paramref name="action" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
2607 <exception cref="T:System.ArgumentOutOfRangeException">
2608 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2610 <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action,System.Threading.Tasks.TaskCreationOptions)">
2611 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task" />。</summary>
2612 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2613 <param name="action">要异步执行的操作委托。</param>
2614 <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
2615 <exception cref="T:System.ArgumentNullException">当 <paramref name="action" /> 参数为 null 时引发的异常。</exception>
2616 <exception cref="T:System.ArgumentOutOfRangeException">
2617 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。</exception>
2619 <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action{System.Object},System.Object)">
2620 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task" />。</summary>
2621 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2622 <param name="action">要异步执行的操作委托。</param>
2623 <param name="state">一个包含由 <paramref name="action" /> 委托使用的数据的对象。</param>
2624 <exception cref="T:System.ArgumentNullException">
2625 <paramref name="action" /> 参数为 null。</exception>
2627 <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action{System.Object},System.Object,System.Threading.CancellationToken)">
2628 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task" />。</summary>
2629 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2630 <param name="action">要异步执行的操作委托。</param>
2631 <param name="state">一个包含由 <paramref name="action" /> 委托使用的数据的对象。</param>
2632 <param name="cancellationToken">将指派给新 <see cref="T:System.Threading.Tasks.Task" /> 的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /></param>
2633 <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
2634 <exception cref="T:System.ArgumentNullException">当 <paramref name="action" /> 参数为 null 时引发的异常。</exception>
2636 <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action{System.Object},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
2637 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task" />。</summary>
2638 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2639 <param name="action">要异步执行的操作委托。</param>
2640 <param name="state">一个包含由 <paramref name="action" /> 委托使用的数据的对象。</param>
2641 <param name="cancellationToken">将指派给新任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
2642 <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
2643 <param name="scheduler">用于计划所创建的 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task" />。</param>
2644 <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
2645 <exception cref="T:System.ArgumentNullException">当 <paramref name="action" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
2646 <exception cref="T:System.ArgumentOutOfRangeException">
2647 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2649 <member name="M:System.Threading.Tasks.TaskFactory.StartNew(System.Action{System.Object},System.Object,System.Threading.Tasks.TaskCreationOptions)">
2650 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task" />。</summary>
2651 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task" />。</returns>
2652 <param name="action">要异步执行的操作委托。</param>
2653 <param name="state">一个包含由 <paramref name="action" /> 委托使用的数据的对象。</param>
2654 <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task" /> 的行为。</param>
2655 <exception cref="T:System.ArgumentNullException">当 <paramref name="action" /> 参数为 null 时引发的异常。</exception>
2656 <exception cref="T:System.ArgumentOutOfRangeException">
2657 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。</exception>
2659 <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{``0})">
2660 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
2661 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2662 <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
2663 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2664 <exception cref="T:System.ArgumentNullException">
2665 <paramref name="function" /> 参数为 null。</exception>
2667 <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{``0},System.Threading.CancellationToken)">
2668 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
2669 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2670 <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
2671 <param name="cancellationToken">将指派给新 <see cref="T:System.Threading.Tasks.Task" /> 的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /></param>
2672 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2673 <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
2674 <exception cref="T:System.ArgumentNullException">当 <paramref name="function" /> 参数为 null 时引发的异常。</exception>
2676 <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{``0},System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
2677 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
2678 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2679 <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
2680 <param name="cancellationToken">将指派给新任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
2681 <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
2682 <param name="scheduler">用于计划所创建的 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task`1" />。</param>
2683 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2684 <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
2685 <exception cref="T:System.ArgumentNullException">当 <paramref name="function" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
2686 <exception cref="T:System.ArgumentOutOfRangeException">
2687 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2689 <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{``0},System.Threading.Tasks.TaskCreationOptions)">
2690 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
2691 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2692 <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
2693 <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
2694 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2695 <exception cref="T:System.ArgumentNullException">当 <paramref name="function" /> 参数为 null 时引发的异常。</exception>
2696 <exception cref="T:System.ArgumentOutOfRangeException">
2697 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2699 <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{System.Object,``0},System.Object)">
2700 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
2701 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2702 <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
2703 <param name="state">一个包含由 <paramref name="function" /> 委托使用的数据的对象。</param>
2704 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2705 <exception cref="T:System.ArgumentNullException">当 <paramref name="function" /> 参数为 null 时引发的异常。</exception>
2707 <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{System.Object,``0},System.Object,System.Threading.CancellationToken)">
2708 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
2709 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2710 <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
2711 <param name="state">一个包含由 <paramref name="function" /> 委托使用的数据的对象。</param>
2712 <param name="cancellationToken">将指派给新 <see cref="T:System.Threading.Tasks.Task" /> 的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" /></param>
2713 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2714 <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
2715 <exception cref="T:System.ArgumentNullException">当 <paramref name="function" /> 参数为 null 时引发的异常。</exception>
2717 <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{System.Object,``0},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
2718 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
2719 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2720 <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
2721 <param name="state">一个包含由 <paramref name="function" /> 委托使用的数据的对象。</param>
2722 <param name="cancellationToken">将指派给新任务的 <see cref="P:System.Threading.Tasks.TaskFactory.CancellationToken" />。</param>
2723 <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
2724 <param name="scheduler">用于计划所创建的 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task`1" />。</param>
2725 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2726 <exception cref="T:System.ObjectDisposedException">提供的 <see cref="T:System.Threading.CancellationToken" /> 已被释放。</exception>
2727 <exception cref="T:System.ArgumentNullException">当 <paramref name="function" /> 参数为 null 时引发的异常。- 或 -当 <paramref name="scheduler" /> 参数为 null 时引发的异常。</exception>
2728 <exception cref="T:System.ArgumentOutOfRangeException">
2729 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2731 <member name="M:System.Threading.Tasks.TaskFactory.StartNew``1(System.Func{System.Object,``0},System.Object,System.Threading.Tasks.TaskCreationOptions)">
2732 <summary>创建并启动 <see cref="T:System.Threading.Tasks.Task`1" />。</summary>
2733 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2734 <param name="function">一个函数委托,可返回能够通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的将来结果。</param>
2735 <param name="state">一个包含由 <paramref name="function" /> 委托使用的数据的对象。</param>
2736 <param name="creationOptions">一个 TaskCreationOptions 值,用于控制创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
2737 <typeparam name="TResult">可通过 <see cref="T:System.Threading.Tasks.Task`1" /> 获得的结果的类型。</typeparam>
2738 <exception cref="T:System.ArgumentNullException">当 <paramref name="function" /> 参数为 null 时引发的异常。</exception>
2739 <exception cref="T:System.ArgumentOutOfRangeException">
2740 <paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。<paramref name="creationOptions" /> 参数指定无效 TaskCreationOptions 值时引发的异常。有关更多信息,请参见 <see cref="M:System.Threading.Tasks.TaskFactory.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Action{System.IAsyncResult},System.Object,System.Threading.Tasks.TaskCreationOptions)" /> 的备注</exception>
2742 <member name="T:System.Threading.Tasks.TaskFactory`1">
2743 <summary>提供对创建和计划 <see cref="T:System.Threading.Tasks.Task`1" /> 对象的支持。</summary>
2744 <typeparam name="TResult">此类的方法创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 对象的返回值。</typeparam>
2746 <member name="M:System.Threading.Tasks.TaskFactory`1.#ctor">
2747 <summary>使用默认配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 实例。</summary>
2749 <member name="M:System.Threading.Tasks.TaskFactory`1.#ctor(System.Threading.CancellationToken)">
2750 <summary>使用默认配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 实例。</summary>
2751 <param name="cancellationToken">将指派给由此 <see cref="T:System.Threading.Tasks.TaskFactory" /> 创建的任务的默认取消标记(除非在调用工厂方法时显式指定另一个取消标记)。</param>
2753 <member name="M:System.Threading.Tasks.TaskFactory`1.#ctor(System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
2754 <summary>使用指定配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 实例。</summary>
2755 <param name="cancellationToken">将指派给由此 <see cref="T:System.Threading.Tasks.TaskFactory" /> 创建的任务的默认取消标记(除非在调用工厂方法时显式指定另一个取消标记)。</param>
2756 <param name="creationOptions">在使用此 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 创建任务时要使用的默认选项。</param>
2757 <param name="continuationOptions">在使用此 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 创建任务时要使用的默认选项。</param>
2758 <param name="scheduler">要用于计划使用此 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 创建的任何任务的默认计划程序。null 值指示应使用 <see cref="P:System.Threading.Tasks.TaskScheduler.Current" />。</param>
2759 <exception cref="T:System.ArgumentOutOfRangeException">
2760 <paramref name="creationOptions" /> 或 <paramref name="continuationOptions" /> 指定了一个无效值。</exception>
2762 <member name="M:System.Threading.Tasks.TaskFactory`1.#ctor(System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskContinuationOptions)">
2763 <summary>使用指定配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 实例。</summary>
2764 <param name="creationOptions">在使用此 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 创建任务时要使用的默认选项。</param>
2765 <param name="continuationOptions">在使用此 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 创建任务时要使用的默认选项。</param>
2766 <exception cref="T:System.ArgumentOutOfRangeException">
2767 <paramref name="creationOptions" /> 或 <paramref name="continuationOptions" /> 指定了一个无效值。</exception>
2769 <member name="M:System.Threading.Tasks.TaskFactory`1.#ctor(System.Threading.Tasks.TaskScheduler)">
2770 <summary>使用指定配置初始化 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 实例。</summary>
2771 <param name="scheduler">要用于计划使用此 <see cref="T:System.Threading.Tasks.TaskFactory`1" /> 创建的任何任务的计划程序。一个 null 值,该值指示应使用当前 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</param>
2773 <member name="P:System.Threading.Tasks.TaskFactory`1.CancellationToken">
2774 <summary>获取此任务工厂的默认取消标记。</summary>
2775 <returns>此任务工厂的默认取消标记。</returns>
2777 <member name="P:System.Threading.Tasks.TaskFactory`1.ContinuationOptions">
2778 <summary>获取此任务工厂的 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 枚举值。</summary>
2779 <returns>指定此任务工厂的默认延续选项的枚举值之一。</returns>
2781 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],`0})">
2782 <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
2783 <returns>新的延续任务。</returns>
2784 <param name="tasks">继续执行的任务所在的数组。</param>
2785 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
2786 <exception cref="T:System.ObjectDisposedException">
2787 <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
2788 <exception cref="T:System.ArgumentNullException">
2789 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 为 null。</exception>
2790 <exception cref="T:System.ArgumentException">
2791 <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
2793 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],`0},System.Threading.CancellationToken)">
2794 <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
2795 <returns>新的延续任务。</returns>
2796 <param name="tasks">继续执行的任务所在的数组。</param>
2797 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
2798 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
2799 <exception cref="T:System.ObjectDisposedException">
2800 <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
2801 <exception cref="T:System.ArgumentNullException">
2802 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 为 null。</exception>
2803 <exception cref="T:System.ArgumentException">
2804 <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
2806 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],`0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
2807 <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
2808 <returns>新的延续任务。</returns>
2809 <param name="tasks">继续执行的任务所在的数组。</param>
2810 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
2811 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
2812 <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
2813 <param name="scheduler">用于计划所创建的延续任务的计划程序。</param>
2814 <exception cref="T:System.ArgumentNullException">
2815 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
2816 <exception cref="T:System.ArgumentException">
2817 <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
2818 <exception cref="T:System.ArgumentOutOfRangeException">
2819 <paramref name="continuationOptions" /> 指定了一个无效值。</exception>
2820 <exception cref="T:System.ObjectDisposedException">
2821 <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
2823 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task[],`0},System.Threading.Tasks.TaskContinuationOptions)">
2824 <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
2825 <returns>新的延续任务。</returns>
2826 <param name="tasks">继续执行的任务所在的数组。</param>
2827 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
2828 <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
2829 <exception cref="T:System.ObjectDisposedException">
2830 <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
2831 <exception cref="T:System.ArgumentNullException">
2832 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
2833 <exception cref="T:System.ArgumentOutOfRangeException">
2834 <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
2835 <exception cref="T:System.ArgumentException">
2836 <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
2838 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],`0})">
2839 <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
2840 <returns>新的延续任务。</returns>
2841 <param name="tasks">继续执行的任务所在的数组。</param>
2842 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
2843 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2844 <exception cref="T:System.ObjectDisposedException">
2845 <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
2846 <exception cref="T:System.ArgumentNullException">
2847 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
2848 <exception cref="T:System.ArgumentException">
2849 <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
2851 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],`0},System.Threading.CancellationToken)">
2852 <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
2853 <returns>新的延续任务。</returns>
2854 <param name="tasks">继续执行的任务所在的数组。</param>
2855 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
2856 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
2857 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2858 <exception cref="T:System.ObjectDisposedException">
2859 <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
2860 <exception cref="T:System.ArgumentNullException">
2861 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
2862 <exception cref="T:System.ArgumentException">
2863 <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
2865 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],`0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
2866 <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
2867 <returns>新的延续任务。</returns>
2868 <param name="tasks">继续执行的任务所在的数组。</param>
2869 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
2870 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
2871 <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
2872 <param name="scheduler">用于计划所创建的延续任务的计划程序。</param>
2873 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2874 <exception cref="T:System.ArgumentNullException">
2875 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
2876 <exception cref="T:System.ArgumentException">
2877 <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
2878 <exception cref="T:System.ArgumentOutOfRangeException">
2879 <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
2880 <exception cref="T:System.ObjectDisposedException">
2881 <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
2883 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAll``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0}[],`0},System.Threading.Tasks.TaskContinuationOptions)">
2884 <summary>创建一个延续任务,它将在提供的一组任务完成后马上开始。</summary>
2885 <returns>新的延续任务。</returns>
2886 <param name="tasks">继续执行的任务所在的数组。</param>
2887 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的所有任务完成时要异步执行的函数委托。</param>
2888 <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
2889 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2890 <exception cref="T:System.ObjectDisposedException">
2891 <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
2892 <exception cref="T:System.ArgumentNullException">
2893 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
2894 <exception cref="T:System.ArgumentOutOfRangeException">
2895 <paramref name="continuationOptions" /> 参数指定的值无效。</exception>
2896 <exception cref="T:System.ArgumentException">
2897 <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
2899 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,`0})">
2900 <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
2901 <returns>新的延续任务。</returns>
2902 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2903 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2904 <exception cref="T:System.ObjectDisposedException">
2905 <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
2906 <exception cref="T:System.ArgumentNullException">
2907 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
2908 <exception cref="T:System.ArgumentException">
2909 <paramref name="tasks" /> 数组包含 null 值或为空。</exception>
2911 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,`0},System.Threading.CancellationToken)">
2912 <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
2913 <returns>新的延续任务。</returns>
2914 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2915 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2916 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
2917 <exception cref="T:System.ObjectDisposedException">
2918 <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
2919 <exception cref="T:System.ArgumentNullException">
2920 <paramref name="tasks" /> 数组参数为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
2921 <exception cref="T:System.ArgumentException">
2922 <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
2924 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,`0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
2925 <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
2926 <returns>新的延续任务。</returns>
2927 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2928 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2929 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
2930 <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
2931 <param name="scheduler">用于计划所创建的延续任务的任务计划程序。</param>
2932 <exception cref="T:System.ArgumentNullException">
2933 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
2934 <exception cref="T:System.ArgumentException">
2935 <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
2936 <exception cref="T:System.ArgumentOutOfRangeException">
2937 <paramref name="continuationOptions" /> 参数指定的 <see cref="T:System.Threading.Tasks.TaskContinuationOptions" /> 值无效。</exception>
2938 <exception cref="T:System.ObjectDisposedException">
2939 <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
2941 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny(System.Threading.Tasks.Task[],System.Func{System.Threading.Tasks.Task,`0},System.Threading.Tasks.TaskContinuationOptions)">
2942 <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
2943 <returns>新的延续任务。</returns>
2944 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2945 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2946 <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
2947 <exception cref="T:System.ObjectDisposedException">
2948 <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
2949 <exception cref="T:System.ArgumentNullException">
2950 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
2951 <exception cref="T:System.ArgumentOutOfRangeException">
2952 <paramref name="continuationOptions" /> 参数指定的枚举值无效。</exception>
2953 <exception cref="T:System.ArgumentException">
2954 <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
2956 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},`0})">
2957 <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
2958 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2959 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2960 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2961 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2962 <exception cref="T:System.ObjectDisposedException">
2963 <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
2964 <exception cref="T:System.ArgumentNullException">
2965 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
2966 <exception cref="T:System.ArgumentException">
2967 <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
2969 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},`0},System.Threading.CancellationToken)">
2970 <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
2971 <returns>新的延续任务。</returns>
2972 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2973 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2974 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
2975 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2976 <exception cref="T:System.ObjectDisposedException">
2977 <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
2978 <exception cref="T:System.ArgumentNullException">
2979 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
2980 <exception cref="T:System.ArgumentException">
2981 <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
2983 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},`0},System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)">
2984 <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
2985 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
2986 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
2987 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
2988 <param name="cancellationToken">将指派给新的延续任务的取消标记。</param>
2989 <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
2990 <param name="scheduler">用于计划所创建的延续 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的 <see cref="T:System.Threading.Tasks.Task`1" />。</param>
2991 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
2992 <exception cref="T:System.ArgumentNullException">
2993 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
2994 <exception cref="T:System.ArgumentException">
2995 <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
2996 <exception cref="T:System.ArgumentOutOfRangeException">
2997 <paramref name="continuationOptions" /> 参数指定的 TaskContinuationOptions 值无效。</exception>
2998 <exception cref="T:System.ObjectDisposedException">
2999 <paramref name="tasks" /> 数组中的某个元素已被释放。- 或 -<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
3001 <member name="M:System.Threading.Tasks.TaskFactory`1.ContinueWhenAny``1(System.Threading.Tasks.Task{``0}[],System.Func{System.Threading.Tasks.Task{``0},`0},System.Threading.Tasks.TaskContinuationOptions)">
3002 <summary>创建一个延续任务,它将在提供的组中的任何任务完成后马上开始。</summary>
3003 <returns>新的延续 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
3004 <param name="tasks">在一个任务完成时继续执行的任务所在的数组。</param>
3005 <param name="continuationFunction">在 <paramref name="tasks" /> 数组中的一个任务完成时要异步执行的函数委托。</param>
3006 <param name="continuationOptions">控制所创建的延续任务的行为的枚举值之一。NotOn* 或 OnlyOn* 值均无效。</param>
3007 <typeparam name="TAntecedentResult">以前的 <paramref name="tasks" /> 结果的类型。</typeparam>
3008 <exception cref="T:System.ObjectDisposedException">
3009 <paramref name="tasks" /> 数组中的某个元素已被释放。</exception>
3010 <exception cref="T:System.ArgumentNullException">
3011 <paramref name="tasks" /> 数组为 null。- 或 -<paramref name="continuationFunction" /> 参数为 null。</exception>
3012 <exception cref="T:System.ArgumentOutOfRangeException">
3013 <paramref name="continuationOptions" /> 参数指定的枚举值无效。</exception>
3014 <exception cref="T:System.ArgumentException">
3015 <paramref name="tasks" /> 数组包含 null 值。- 或 -<paramref name="tasks" /> 数组为空。</exception>
3017 <member name="P:System.Threading.Tasks.TaskFactory`1.CreationOptions">
3018 <summary>获取此任务工厂的 <see cref="T:System.Threading.Tasks.TaskCreationOptions" /> 枚举值。</summary>
3019 <returns>指定此任务工厂的默认创建选项的枚举值之一。</returns>
3021 <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},System.Object)">
3022 <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
3023 <returns>创建的表示异步操作的任务。</returns>
3024 <param name="beginMethod">用于启动异步操作的委托。</param>
3025 <param name="endMethod">用于结束异步操作的委托。</param>
3026 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
3027 <exception cref="T:System.ArgumentNullException">
3028 <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
3030 <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync(System.Func{System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},System.Object,System.Threading.Tasks.TaskCreationOptions)">
3031 <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
3032 <returns>创建的表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
3033 <param name="beginMethod">用于启动异步操作的委托。</param>
3034 <param name="endMethod">用于结束异步操作的委托。</param>
3035 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
3036 <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
3037 <exception cref="T:System.ArgumentNullException">
3038 <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
3039 <exception cref="T:System.ArgumentOutOfRangeException">
3040 <paramref name="creationOptions" /> 参数指定的值无效。</exception>
3042 <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync``1(System.Func{``0,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},``0,System.Object)">
3043 <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
3044 <returns>创建的表示异步操作的任务。</returns>
3045 <param name="beginMethod">用于启动异步操作的委托。</param>
3046 <param name="endMethod">用于结束异步操作的委托。</param>
3047 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
3048 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
3049 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
3050 <exception cref="T:System.ArgumentNullException">
3051 <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
3053 <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync``1(System.Func{``0,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},``0,System.Object,System.Threading.Tasks.TaskCreationOptions)">
3054 <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
3055 <returns>创建的表示异步操作的任务。</returns>
3056 <param name="beginMethod">用于启动异步操作的委托。</param>
3057 <param name="endMethod">用于结束异步操作的委托。</param>
3058 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
3059 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
3060 <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
3061 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
3062 <exception cref="T:System.ArgumentNullException">
3063 <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
3064 <exception cref="T:System.ArgumentOutOfRangeException">
3065 <paramref name="creationOptions" /> 参数指定的值无效。</exception>
3067 <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync``2(System.Func{``0,``1,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},``0,``1,System.Object)">
3068 <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
3069 <returns>创建的表示异步操作的任务。</returns>
3070 <param name="beginMethod">用于启动异步操作的委托。</param>
3071 <param name="endMethod">用于结束异步操作的委托。</param>
3072 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
3073 <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
3074 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
3075 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
3076 <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
3077 <exception cref="T:System.ArgumentNullException">
3078 <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
3080 <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync``2(System.Func{``0,``1,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},``0,``1,System.Object,System.Threading.Tasks.TaskCreationOptions)">
3081 <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
3082 <returns>创建的表示异步操作的任务。</returns>
3083 <param name="beginMethod">用于启动异步操作的委托。</param>
3084 <param name="endMethod">用于结束异步操作的委托。</param>
3085 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
3086 <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
3087 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
3088 <param name="creationOptions">一个对象,用于控制所创建的 <see cref="T:System.Threading.Tasks.Task`1" /> 的行为。</param>
3089 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
3090 <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
3091 <exception cref="T:System.ArgumentNullException">
3092 <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
3093 <exception cref="T:System.ArgumentOutOfRangeException">
3094 <paramref name="creationOptions" /> 参数指定的值无效。</exception>
3096 <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync``3(System.Func{``0,``1,``2,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},``0,``1,``2,System.Object)">
3097 <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
3098 <returns>创建的表示异步操作的任务。</returns>
3099 <param name="beginMethod">用于启动异步操作的委托。</param>
3100 <param name="endMethod">用于结束异步操作的委托。</param>
3101 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
3102 <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
3103 <param name="arg3">传递给 <paramref name="beginMethod" /> 委托的第三个参数。</param>
3104 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
3105 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
3106 <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第三个参数的类型。</typeparam>
3107 <typeparam name="TArg3">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
3108 <exception cref="T:System.ArgumentNullException">
3109 <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
3111 <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync``3(System.Func{``0,``1,``2,System.AsyncCallback,System.Object,System.IAsyncResult},System.Func{System.IAsyncResult,`0},``0,``1,``2,System.Object,System.Threading.Tasks.TaskCreationOptions)">
3112 <summary>创建一个任务,它表示符合异步编程模型模式的成对的开始和结束方法。</summary>
3113 <returns>创建的表示异步操作的任务。</returns>
3114 <param name="beginMethod">用于启动异步操作的委托。</param>
3115 <param name="endMethod">用于结束异步操作的委托。</param>
3116 <param name="arg1">传递给 <paramref name="beginMethod" /> 委托的第一个参数。</param>
3117 <param name="arg2">传递给 <paramref name="beginMethod" /> 委托的第二个参数。</param>
3118 <param name="arg3">传递给 <paramref name="beginMethod" /> 委托的第三个参数。</param>
3119 <param name="state">一个包含由 <paramref name="beginMethod" /> 委托使用的数据的对象。</param>
3120 <param name="creationOptions">一个对象,用于控制所创建的任务的行为。</param>
3121 <typeparam name="TArg1">传递给 <paramref name="beginMethod" /> 委托的第二个参数的类型。</typeparam>
3122 <typeparam name="TArg2">传递给 <paramref name="beginMethod" /> 委托的第三个参数的类型。</typeparam>
3123 <typeparam name="TArg3">传递给 <paramref name="beginMethod" /> 委托的第一个参数的类型。</typeparam>
3124 <exception cref="T:System.ArgumentNullException">
3125 <paramref name="beginMethod" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
3126 <exception cref="T:System.ArgumentOutOfRangeException">
3127 <paramref name="creationOptions" /> 参数指定的值无效。</exception>
3129 <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync(System.IAsyncResult,System.Func{System.IAsyncResult,`0})">
3130 <summary>创建一个任务,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法函数。</summary>
3131 <returns>一个表示异步操作的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
3132 <param name="asyncResult">
3133 <see cref="T:System.IAsyncResult" />,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
3134 <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的函数委托。</param>
3135 <exception cref="T:System.ArgumentNullException">
3136 <paramref name="asyncResult" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
3138 <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync(System.IAsyncResult,System.Func{System.IAsyncResult,`0},System.Threading.Tasks.TaskCreationOptions)">
3139 <summary>创建一个任务,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法函数。</summary>
3140 <returns>表示异步操作的任务。</returns>
3141 <param name="asyncResult">
3142 <see cref="T:System.IAsyncResult" />,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
3143 <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的函数委托。</param>
3144 <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
3145 <exception cref="T:System.ArgumentNullException">
3146 <paramref name="asyncResult" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。</exception>
3147 <exception cref="T:System.ArgumentOutOfRangeException">
3148 <paramref name="creationOptions" /> 参数指定的值无效。</exception>
3150 <member name="M:System.Threading.Tasks.TaskFactory`1.FromAsync(System.IAsyncResult,System.Func{System.IAsyncResult,`0},System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
3151 <summary>创建一个任务,它在指定的 <see cref="T:System.IAsyncResult" /> 完成时执行一个结束方法函数。</summary>
3152 <returns>创建的表示异步操作的任务。</returns>
3153 <param name="asyncResult">
3154 <see cref="T:System.IAsyncResult" />,完成它时将触发对 <paramref name="endMethod" /> 的处理。</param>
3155 <param name="endMethod">用于处理完成的 <paramref name="asyncResult" /> 的函数委托。</param>
3156 <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
3157 <param name="scheduler">用于计划将执行结束方法的任务计划程序。</param>
3158 <exception cref="T:System.ArgumentNullException">
3159 <paramref name="asyncResult" /> 参数为 null。- 或 -<paramref name="endMethod" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
3160 <exception cref="T:System.ArgumentOutOfRangeException">
3161 <paramref name="creationOptions" /> 参数指定的值无效。</exception>
3163 <member name="P:System.Threading.Tasks.TaskFactory`1.Scheduler">
3164 <summary>获取此任务工厂的任务计划程序。</summary>
3165 <returns>此任务工厂的任务计划程序。</returns>
3167 <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{`0})">
3168 <summary>创建并启动 任务。</summary>
3169 <returns>已启动的任务。</returns>
3170 <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
3171 <exception cref="T:System.ArgumentNullException">
3172 <paramref name="function" /> 参数为 null。</exception>
3174 <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{`0},System.Threading.CancellationToken)">
3175 <summary>创建并启动 任务。</summary>
3176 <returns>已启动的任务。</returns>
3177 <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
3178 <param name="cancellationToken">将指派给新的任务的取消标记。</param>
3179 <exception cref="T:System.ObjectDisposedException">已处理创建的 <paramref name="cancellationToken" /> 的取消标记源。</exception>
3180 <exception cref="T:System.ArgumentNullException">
3181 <paramref name="function" /> 参数为 null。</exception>
3183 <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{`0},System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
3184 <summary>创建并启动 任务。</summary>
3185 <returns>已启动的任务。</returns>
3186 <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
3187 <param name="cancellationToken">将指派给新的任务的取消标记。</param>
3188 <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
3189 <param name="scheduler">用于计划所创建的任务的任务计划程序。</param>
3190 <exception cref="T:System.ObjectDisposedException">已处理创建的 <paramref name="cancellationToken" /> 的取消标记源。</exception>
3191 <exception cref="T:System.ArgumentNullException">
3192 <paramref name="function" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
3193 <exception cref="T:System.ArgumentOutOfRangeException">
3194 <paramref name="creationOptions" /> 参数指定的值无效。</exception>
3196 <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{`0},System.Threading.Tasks.TaskCreationOptions)">
3197 <summary>创建并启动 任务。</summary>
3198 <returns>已启动的 <see cref="T:System.Threading.Tasks.Task`1" />。</returns>
3199 <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
3200 <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
3201 <exception cref="T:System.ArgumentNullException">
3202 <paramref name="function" /> 参数为 null。</exception>
3203 <exception cref="T:System.ArgumentOutOfRangeException">
3204 <paramref name="creationOptions" /> 参数指定的值无效。</exception>
3206 <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{System.Object,`0},System.Object)">
3207 <summary>创建并启动 任务。</summary>
3208 <returns>已启动的任务。</returns>
3209 <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
3210 <param name="state">包含 <paramref name="function" /> 委托所用数据的对象。</param>
3211 <exception cref="T:System.ArgumentNullException">
3212 <paramref name="function" /> 参数为 null。</exception>
3214 <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{System.Object,`0},System.Object,System.Threading.CancellationToken)">
3215 <summary>创建并启动 任务。</summary>
3216 <returns>已启动的任务。</returns>
3217 <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
3218 <param name="state">包含 <paramref name="function" /> 委托所用数据的对象。</param>
3219 <param name="cancellationToken">将指派给新的任务的取消标记。</param>
3220 <exception cref="T:System.ObjectDisposedException">已处理创建的 <paramref name="cancellationToken" /> 的取消标记源。</exception>
3221 <exception cref="T:System.ArgumentNullException">
3222 <paramref name="function" /> 参数为 null。</exception>
3224 <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{System.Object,`0},System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskScheduler)">
3225 <summary>创建并启动 任务。</summary>
3226 <returns>已启动的任务。</returns>
3227 <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
3228 <param name="state">包含 <paramref name="function" /> 委托所用数据的对象。</param>
3229 <param name="cancellationToken">将指派给新的任务的取消标记。</param>
3230 <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
3231 <param name="scheduler">用于计划所创建的任务的任务计划程序。</param>
3232 <exception cref="T:System.ObjectDisposedException">已处理创建的 <paramref name="cancellationToken" /> 的取消标记源。</exception>
3233 <exception cref="T:System.ArgumentNullException">
3234 <paramref name="function" /> 参数为 null。- 或 -<paramref name="scheduler" /> 参数为 null。</exception>
3235 <exception cref="T:System.ArgumentOutOfRangeException">
3236 <paramref name="creationOptions" /> 参数指定的值无效。</exception>
3238 <member name="M:System.Threading.Tasks.TaskFactory`1.StartNew(System.Func{System.Object,`0},System.Object,System.Threading.Tasks.TaskCreationOptions)">
3239 <summary>创建并启动 任务。</summary>
3240 <returns>已启动的任务。</returns>
3241 <param name="function">一个函数委托,可返回能够通过任务获得的将来结果。</param>
3242 <param name="state">包含 <paramref name="function" /> 委托所用数据的对象。</param>
3243 <param name="creationOptions">控制所创建的任务的行为的枚举值之一。</param>
3244 <exception cref="T:System.ArgumentNullException">
3245 <paramref name="function" /> 参数为 null。</exception>
3246 <exception cref="T:System.ArgumentOutOfRangeException">
3247 <paramref name="creationOptions" /> 参数指定的值无效。</exception>
3249 <member name="T:System.Threading.Tasks.TaskScheduler">
3250 <summary>表示一个处理将任务排队到线程中的低级工作的对象。</summary>
3252 <member name="M:System.Threading.Tasks.TaskScheduler.#ctor">
3253 <summary>初始化 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</summary>
3255 <member name="P:System.Threading.Tasks.TaskScheduler.Current">
3256 <summary>获取与当前正在执行的任务关联的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</summary>
3257 <returns>返回与当前正在执行的任务关联的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</returns>
3259 <member name="P:System.Threading.Tasks.TaskScheduler.Default">
3260 <summary>获取由 .NET Framework 提供的默认 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 实例。</summary>
3261 <returns>返回默认的 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 实例。</returns>
3263 <member name="M:System.Threading.Tasks.TaskScheduler.FromCurrentSynchronizationContext">
3264 <summary>创建一个与当前 <see cref="T:System.Threading.SynchronizationContext" /> 关联的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</summary>
3265 <returns>与由 <see cref="P:System.Threading.SynchronizationContext.Current" /> 确定的当前 <see cref="T:System.Threading.SynchronizationContext" /> 关联的 <see cref="T:System.Threading.Tasks.TaskScheduler" />。</returns>
3266 <exception cref="T:System.InvalidOperationException">当前的 SynchronizationContext 不能用作 TaskScheduler。</exception>
3268 <member name="M:System.Threading.Tasks.TaskScheduler.GetScheduledTasks">
3269 <summary>仅对于调试器支持,生成当前排队到计划程序中等待执行的 <see cref="T:System.Threading.Tasks.Task" /> 实例的枚举。</summary>
3270 <returns>一个允许调试器遍历当前排队到此计划程序中的任务的枚举。</returns>
3271 <exception cref="T:System.NotSupportedException">此计划程序无法在此时生成排队任务的列表。</exception>
3273 <member name="P:System.Threading.Tasks.TaskScheduler.Id">
3274 <summary>获取此 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的唯一 ID。</summary>
3275 <returns>返回此 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 的唯一 ID。</returns>
3277 <member name="P:System.Threading.Tasks.TaskScheduler.MaximumConcurrencyLevel">
3278 <summary>指示此 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 能够支持的最大并发级别。</summary>
3279 <returns>返回表示最大并发级别的一个整数。默认计划程序返回 <see cref="F:System.Int32.MaxValue" />。</returns>
3281 <member name="M:System.Threading.Tasks.TaskScheduler.QueueTask(System.Threading.Tasks.Task)">
3282 <summary>将 <see cref="T:System.Threading.Tasks.Task" /> 排队到计划程序中。</summary>
3283 <param name="task">要排队的 <see cref="T:System.Threading.Tasks.Task" />。</param>
3284 <exception cref="T:System.ArgumentNullException">
3285 <paramref name="task" /> 参数为 null。</exception>
3287 <member name="M:System.Threading.Tasks.TaskScheduler.TryDequeue(System.Threading.Tasks.Task)">
3288 <summary>尝试将以前排队到此计划程序中的 <see cref="T:System.Threading.Tasks.Task" /> 取消排队。</summary>
3289 <returns>一个布尔值,该值指示是否已成功地将 <paramref name="task" /> 参数取消排队。</returns>
3290 <param name="task">要取消排队的 <see cref="T:System.Threading.Tasks.Task" />。</param>
3291 <exception cref="T:System.ArgumentNullException">
3292 <paramref name="task" /> 参数为 null。</exception>
3294 <member name="M:System.Threading.Tasks.TaskScheduler.TryExecuteTask(System.Threading.Tasks.Task)">
3295 <summary>尝试在此计划程序上执行提供的 <see cref="T:System.Threading.Tasks.Task" />。</summary>
3296 <returns>一个布尔值,如果成功执行了 <paramref name="task" />,则该值为 true;如果未成功执行,则该值为 false。执行失败的常见原因是,该任务先前已经执行或者位于正在由另一个线程执行的进程中。</returns>
3297 <param name="task">要执行的 <see cref="T:System.Threading.Tasks.Task" /> 对象。</param>
3298 <exception cref="T:System.InvalidOperationException">
3299 <paramref name="task" /> 与此计划程序无关联。</exception>
3301 <member name="M:System.Threading.Tasks.TaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task,System.Boolean)">
3302 <summary>确定是否可以在此调用中同步执行提供的 <see cref="T:System.Threading.Tasks.Task" />,如果可以,将执行该任务。</summary>
3303 <returns>一个布尔值,该值指示是否已以内联方式执行该任务。</returns>
3304 <param name="task">要执行的 <see cref="T:System.Threading.Tasks.Task" />。</param>
3305 <param name="taskWasPreviouslyQueued">一个布尔值,该值指示任务之前是否已排队。如果此参数为 True,则该任务以前可能已排队(已计划);如果为 False,则已知该任务尚未排队,此时将执行此调用,以便以内联方式执行该任务,而不用将其排队。</param>
3306 <exception cref="T:System.ArgumentNullException">
3307 <paramref name="task" /> 参数为 null。</exception>
3308 <exception cref="T:System.InvalidOperationException">已执行的 <paramref name="task" />。</exception>
3310 <member name="E:System.Threading.Tasks.TaskScheduler.UnobservedTaskException">
3311 <summary>当出错的任务的未观察到的异常将要触发异常升级策略时发生,默认情况下,这将终止进程。</summary>
3313 <member name="T:System.Threading.Tasks.TaskSchedulerException">
3314 <summary>表示一个用于告知由 <see cref="T:System.Threading.Tasks.TaskScheduler" /> 计划的某个操作无效的异常。</summary>
3316 <member name="M:System.Threading.Tasks.TaskSchedulerException.#ctor">
3317 <summary>使用由系统提供的用来描述错误的消息初始化 <see cref="T:System.Threading.Tasks.TaskSchedulerException" /> 类的新实例。</summary>
3319 <member name="M:System.Threading.Tasks.TaskSchedulerException.#ctor(System.Exception)">
3320 <summary>使用默认的错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.Threading.Tasks.TaskSchedulerException" /> 类的新实例。</summary>
3321 <param name="innerException">导致当前异常的异常。</param>
3323 <member name="M:System.Threading.Tasks.TaskSchedulerException.#ctor(System.String)">
3324 <summary>使用指定的描述错误的消息初始化 <see cref="T:System.Threading.Tasks.TaskSchedulerException" /> 类的新实例。</summary>
3325 <param name="message">描述该异常的消息。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。</param>
3327 <member name="M:System.Threading.Tasks.TaskSchedulerException.#ctor(System.String,System.Exception)">
3328 <summary>使用指定错误消息和对作为此异常原因的内部异常的引用来初始化 <see cref="T:System.Threading.Tasks.TaskSchedulerException" /> 类的新实例。</summary>
3329 <param name="message">描述该异常的消息。此构造函数的调用方需要确保此字符串已针对当前系统区域性进行了本地化。</param>
3330 <param name="innerException">导致当前异常的异常。如果 <paramref name="innerException" /> 参数不为 null,则当前异常将在处理内部异常的 catch 块中引发。</param>
3332 <member name="T:System.Threading.Tasks.TaskStatus">
3333 <summary>表示 <see cref="T:System.Threading.Tasks.Task" /> 的生命周期中的当前阶段。</summary>
3335 <member name="F:System.Threading.Tasks.TaskStatus.Canceled">
3336 <summary>该任务已通过对其自身的 CancellationToken 引发 OperationCanceledException 对取消进行了确认,此时该标记处于已发送信号状态;或者在该任务开始执行之前,已向该任务的 CancellationToken 发出了信号。有关详细信息,请参阅任务取消。</summary>
3338 <member name="F:System.Threading.Tasks.TaskStatus.Created">
3339 <summary>该任务已初始化,但尚未被计划。</summary>
3341 <member name="F:System.Threading.Tasks.TaskStatus.Faulted">
3342 <summary>由于未处理异常的原因而完成的任务。</summary>
3344 <member name="F:System.Threading.Tasks.TaskStatus.RanToCompletion">
3345 <summary>已成功完成执行的任务。</summary>
3347 <member name="F:System.Threading.Tasks.TaskStatus.Running">
3348 <summary>该任务正在运行,但尚未完成。</summary>
3350 <member name="F:System.Threading.Tasks.TaskStatus.WaitingForActivation">
3351 <summary>该任务正在等待 .NET Framework 基础结构在内部将其激活并进行计划。</summary>
3353 <member name="F:System.Threading.Tasks.TaskStatus.WaitingForChildrenToComplete">
3354 <summary>该任务已完成执行,正在隐式等待附加的子任务完成。</summary>
3356 <member name="F:System.Threading.Tasks.TaskStatus.WaitingToRun">
3357 <summary>该任务已被计划执行,但尚未开始执行。</summary>
3359 <member name="T:System.Threading.Tasks.UnobservedTaskExceptionEventArgs">
3360 <summary>为在出错的 <see cref="T:System.Threading.Tasks.Task" /> 的异常未观察到时引发的事件提供数据。</summary>
3362 <member name="M:System.Threading.Tasks.UnobservedTaskExceptionEventArgs.#ctor(System.AggregateException)">
3363 <summary>使用未观察到的异常初始化 <see cref="T:System.Threading.Tasks.UnobservedTaskExceptionEventArgs" /> 类的新实例。</summary>
3364 <param name="exception">未观察到的异常。</param>
3366 <member name="P:System.Threading.Tasks.UnobservedTaskExceptionEventArgs.Exception">
3367 <summary>未观察到的异常。</summary>
3368 <returns>未观察到的异常。</returns>
3370 <member name="P:System.Threading.Tasks.UnobservedTaskExceptionEventArgs.Observed">
3371 <summary>获取此异常是否已标记为“已观察到”。</summary>
3372 <returns>如果此异常已标记为“已观察到”,则为 true;否则为 false。</returns>
3374 <member name="M:System.Threading.Tasks.UnobservedTaskExceptionEventArgs.SetObserved">
3375 <summary>将 <see cref="P:System.Threading.Tasks.UnobservedTaskExceptionEventArgs.Exception" /> 标记为“已观察到”,这样将阻止该异常触发默认情况下会终止进程的异常升级策略。</summary>