| 1 |
<?xml version="1.0"?> |
| 2 |
<doc> |
| 3 |
<assembly> |
| 4 |
<name>Microsoft.Threading.Tasks</name> |
| 5 |
</assembly> |
| 6 |
<members> |
| 7 |
<member name="T:AwaitExtensions"> |
| 8 |
<summary> |
| 9 |
Provides extension methods for threading-related types. |
| 10 |
</summary> |
| 11 |
</member> |
| 12 |
<member name="M:AwaitExtensions.CancelAfter(System.Threading.CancellationTokenSource,System.Int32)"> |
| 13 |
<summary>Cancels the <see cref="T:System.Threading.CancellationTokenSource"/> after the specified duration.</summary> |
| 14 |
<param name="source">The CancellationTokenSource.</param> |
| 15 |
<param name="dueTime">The due time in milliseconds for the source to be canceled.</param> |
| 16 |
</member> |
| 17 |
<member name="M:AwaitExtensions.CancelAfter(System.Threading.CancellationTokenSource,System.TimeSpan)"> |
| 18 |
<summary>Cancels the <see cref="T:System.Threading.CancellationTokenSource"/> after the specified duration.</summary> |
| 19 |
<param name="source">The CancellationTokenSource.</param> |
| 20 |
<param name="dueTime">The due time for the source to be canceled.</param> |
| 21 |
</member> |
| 22 |
<member name="M:AwaitExtensions.GetAwaiter(System.Threading.Tasks.Task)"> |
| 23 |
<summary>Gets an awaiter used to await this <see cref="T:System.Threading.Tasks.Task"/>.</summary> |
| 24 |
<param name="task">The task to await.</param> |
| 25 |
<returns>An awaiter instance.</returns> |
| 26 |
</member> |
| 27 |
<member name="M:AwaitExtensions.GetAwaiter``1(System.Threading.Tasks.Task{``0})"> |
| 28 |
<summary>Gets an awaiter used to await this <see cref="T:System.Threading.Tasks.Task"/>.</summary> |
| 29 |
<typeparam name="TResult">Specifies the type of data returned by the task.</typeparam> |
| 30 |
<param name="task">The task to await.</param> |
| 31 |
<returns>An awaiter instance.</returns> |
| 32 |
</member> |
| 33 |
<member name="M:AwaitExtensions.ConfigureAwait(System.Threading.Tasks.Task,System.Boolean)"> |
| 34 |
<summary>Creates and configures an awaitable object for awaiting the specified task.</summary> |
| 35 |
<param name="task">The task to be awaited.</param> |
| 36 |
<param name="continueOnCapturedContext"> |
| 37 |
true to automatic marshag back to the original call site's current SynchronizationContext |
| 38 |
or TaskScheduler; otherwise, false. |
| 39 |
</param> |
| 40 |
<returns>The instance to be awaited.</returns> |
| 41 |
</member> |
| 42 |
<member name="M:AwaitExtensions.ConfigureAwait``1(System.Threading.Tasks.Task{``0},System.Boolean)"> |
| 43 |
<summary>Creates and configures an awaitable object for awaiting the specified task.</summary> |
| 44 |
<param name="task">The task to be awaited.</param> |
| 45 |
<param name="continueOnCapturedContext"> |
| 46 |
true to automatic marshag back to the original call site's current SynchronizationContext |
| 47 |
or TaskScheduler; otherwise, false. |
| 48 |
</param> |
| 49 |
<returns>The instance to be awaited.</returns> |
| 50 |
</member> |
| 51 |
<member name="T:Microsoft.ProgressEventHandler`1"> |
| 52 |
<summary>Event handler for progress reports.</summary> |
| 53 |
<typeparam name="T">Specifies the type of data for the progress report.</typeparam> |
| 54 |
<param name="sender">The sender of the report.</param> |
| 55 |
<param name="value">The reported value.</param> |
| 56 |
</member> |
| 57 |
<member name="T:Microsoft.Progress`1"> |
| 58 |
<summary> |
| 59 |
Provides an IProgress{T} that invokes callbacks for each reported progress value. |
| 60 |
</summary> |
| 61 |
<typeparam name="T">Specifies the type of the progress report value.</typeparam> |
| 62 |
<remarks> |
| 63 |
Any handler provided to the constructor or event handlers registered with |
| 64 |
the <see cref="E:Microsoft.Progress`1.ProgressChanged"/> event are invoked through a |
| 65 |
<see cref="T:System.Threading.SynchronizationContext"/> instance captured |
| 66 |
when the instance is constructed. If there is no current SynchronizationContext |
| 67 |
at the time of construction, the callbacks will be invoked on the ThreadPool. |
| 68 |
</remarks> |
| 69 |
</member> |
| 70 |
<member name="F:Microsoft.Progress`1.m_synchronizationContext"> |
| 71 |
<summary>The synchronization context captured upon construction. This will never be null.</summary> |
| 72 |
</member> |
| 73 |
<member name="F:Microsoft.Progress`1.m_handler"> |
| 74 |
<summary>The handler specified to the constructor. This may be null.</summary> |
| 75 |
</member> |
| 76 |
<member name="F:Microsoft.Progress`1.m_invokeHandlers"> |
| 77 |
<summary>A cached delegate used to post invocation to the synchronization context.</summary> |
| 78 |
</member> |
| 79 |
<member name="M:Microsoft.Progress`1.#ctor"> |
| 80 |
<summary>Initializes the <see cref="T:Microsoft.Progress`1"/>.</summary> |
| 81 |
</member> |
| 82 |
<member name="M:Microsoft.Progress`1.#ctor(System.Action{`0})"> |
| 83 |
<summary>Initializes the <see cref="T:Microsoft.Progress`1"/> with the specified callback.</summary> |
| 84 |
<param name="handler"> |
| 85 |
A handler to invoke for each reported progress value. This handler will be invoked |
| 86 |
in addition to any delegates registered with the <see cref="E:Microsoft.Progress`1.ProgressChanged"/> event. |
| 87 |
</param> |
| 88 |
<exception cref="T:System.ArgumentNullException">The <paramref name="handler"/> is null (Nothing in Visual Basic).</exception> |
| 89 |
</member> |
| 90 |
<member name="M:Microsoft.Progress`1.OnReport(`0)"> |
| 91 |
<summary>Reports a progress change.</summary> |
| 92 |
<param name="value">The value of the updated progress.</param> |
| 93 |
</member> |
| 94 |
<member name="M:Microsoft.Progress`1.System#IProgress{T}#Report(`0)"> |
| 95 |
<summary>Reports a progress change.</summary> |
| 96 |
<param name="value">The value of the updated progress.</param> |
| 97 |
</member> |
| 98 |
<member name="M:Microsoft.Progress`1.InvokeHandlers(System.Object)"> |
| 99 |
<summary>Invokes the action and event callbacks.</summary> |
| 100 |
<param name="state">The progress value.</param> |
| 101 |
</member> |
| 102 |
<member name="E:Microsoft.Progress`1.ProgressChanged"> |
| 103 |
<summary>Raised for each reported progress value.</summary> |
| 104 |
<remarks> |
| 105 |
Handlers registered with this event will be invoked on the |
| 106 |
<see cref="T:System.Threading.SynchronizationContext"/> captured when the instance was constructed. |
| 107 |
</remarks> |
| 108 |
</member> |
| 109 |
<member name="T:Microsoft.ProgressStatics"> |
| 110 |
<summary>Holds static values for <see cref="T:Microsoft.Progress`1"/>.</summary> |
| 111 |
<remarks>This avoids one static instance per type T.</remarks> |
| 112 |
</member> |
| 113 |
<member name="F:Microsoft.ProgressStatics.DefaultContext"> |
| 114 |
<summary>A default synchronization context that targets the ThreadPool.</summary> |
| 115 |
</member> |
| 116 |
<member name="M:System.Runtime.CompilerServices.AsyncServices.ThrowAsync(System.Exception,System.Threading.SynchronizationContext)"> |
| 117 |
<summary>Throws the exception on the ThreadPool.</summary> |
| 118 |
<param name="exception">The exception to propagate.</param> |
| 119 |
<param name="targetContext">The target context on which to propagate the exception. Null to use the ThreadPool.</param> |
| 120 |
</member> |
| 121 |
<member name="M:System.Runtime.CompilerServices.AsyncServices.PrepareExceptionForRethrow(System.Exception)"> |
| 122 |
<summary>Copies the exception's stack trace so its stack trace isn't overwritten.</summary> |
| 123 |
<param name="exc">The exception to prepare.</param> |
| 124 |
</member> |
| 125 |
<member name="T:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable"> |
| 126 |
<summary>Provides an awaitable object that allows for configured awaits on <see cref="T:System.Threading.Tasks.Task"/>.</summary> |
| 127 |
<remarks>This type is intended for compiler use only.</remarks> |
| 128 |
</member> |
| 129 |
<member name="F:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable.m_configuredTaskAwaiter"> |
| 130 |
<summary>The task being awaited.</summary> |
| 131 |
</member> |
| 132 |
<member name="M:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable.#ctor(System.Threading.Tasks.Task,System.Boolean)"> |
| 133 |
<summary>Initializes the <see cref="T:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable"/>.</summary> |
| 134 |
<param name="task">The awaitable <see cref="T:System.Threading.Tasks.Task"/>.</param> |
| 135 |
<param name="continueOnCapturedContext"> |
| 136 |
true to attempt to marshal the continuation back to the original context captured; otherwise, false. |
| 137 |
</param> |
| 138 |
</member> |
| 139 |
<member name="M:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable.GetAwaiter"> |
| 140 |
<summary>Gets an awaiter for this awaitable.</summary> |
| 141 |
<returns>The awaiter.</returns> |
| 142 |
</member> |
| 143 |
<member name="T:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter"> |
| 144 |
<summary>Provides an awaiter for a <see cref="T:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable"/>.</summary> |
| 145 |
<remarks>This type is intended for compiler use only.</remarks> |
| 146 |
</member> |
| 147 |
<member name="F:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.m_task"> |
| 148 |
<summary>The task being awaited.</summary> |
| 149 |
</member> |
| 150 |
<member name="F:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.m_continueOnCapturedContext"> |
| 151 |
<summary>Whether to attempt marshaling back to the original context.</summary> |
| 152 |
</member> |
| 153 |
<member name="M:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.#ctor(System.Threading.Tasks.Task,System.Boolean)"> |
| 154 |
<summary>Initializes the <see cref="T:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter"/>.</summary> |
| 155 |
<param name="task">The <see cref="T:System.Threading.Tasks.Task"/> to await.</param> |
| 156 |
<param name="continueOnCapturedContext"> |
| 157 |
true to attempt to marshal the continuation back to the original context captured |
| 158 |
when BeginAwait is called; otherwise, false. |
| 159 |
</param> |
| 160 |
</member> |
| 161 |
<member name="M:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.OnCompleted(System.Action)"> |
| 162 |
<summary>Schedules the continuation onto the <see cref="T:System.Threading.Tasks.Task"/> associated with this <see cref="T:Microsoft.Runtime.CompilerServices.TaskAwaiter"/>.</summary> |
| 163 |
<param name="continuation">The action to invoke when the await operation completes.</param> |
| 164 |
<exception cref="T:System.ArgumentNullException">The <paramref name="continuation"/> argument is null (Nothing in Visual Basic).</exception> |
| 165 |
<exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception> |
| 166 |
<remarks>This method is intended for compiler user rather than use directly in code.</remarks> |
| 167 |
</member> |
| 168 |
<member name="M:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.UnsafeOnCompleted(System.Action)"> |
| 169 |
<summary>Schedules the continuation onto the <see cref="T:System.Threading.Tasks.Task"/> associated with this <see cref="T:Microsoft.Runtime.CompilerServices.TaskAwaiter"/>.</summary> |
| 170 |
<param name="continuation">The action to invoke when the await operation completes.</param> |
| 171 |
<exception cref="T:System.ArgumentNullException">The <paramref name="continuation"/> argument is null (Nothing in Visual Basic).</exception> |
| 172 |
<exception cref="T:System.InvalidOperationException">The awaiter was not properly initialized.</exception> |
| 173 |
<remarks>This method is intended for compiler user rather than use directly in code.</remarks> |
| 174 |
</member> |
| 175 |
<member name="M:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult"> |
| 176 |
<summary>Ends the await on the completed <see cref="T:System.Threading.Tasks.Task"/>.</summary> |
| 177 |
<returns>The result of the completed <see cref="T:System.Threading.Tasks.Task`1"/>.</returns> |
| 178 |
<exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception> |
| 179 |
<exception cref="T:System.InvalidOperationException">The task was not yet completed.</exception> |
| 180 |
<exception cref="T:System.Threading.Tasks.TaskCanceledException">The task was canceled.</exception> |
| 181 |
<exception cref="T:System.Exception">The task completed in a Faulted state.</exception> |
| 182 |
</member> |
| 183 |
<member name="P:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.IsCompleted"> |
| 184 |
<summary>Gets whether the task being awaited is completed.</summary> |
| 185 |
<remarks>This property is intended for compiler user rather than use directly in code.</remarks> |
| 186 |
<exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception> |
| 187 |
</member> |
| 188 |
<member name="T:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1"> |
| 189 |
<summary>Provides an awaitable object that allows for configured awaits on <see cref="T:System.Threading.Tasks.Task`1"/>.</summary> |
| 190 |
<remarks>This type is intended for compiler use only.</remarks> |
| 191 |
</member> |
| 192 |
<member name="F:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.m_configuredTaskAwaiter"> |
| 193 |
<summary>The underlying awaitable on whose logic this awaitable relies.</summary> |
| 194 |
</member> |
| 195 |
<member name="M:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.#ctor(System.Threading.Tasks.Task{`0},System.Boolean)"> |
| 196 |
<summary>Initializes the <see cref="T:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1"/>.</summary> |
| 197 |
<param name="task">The awaitable <see cref="T:System.Threading.Tasks.Task`1"/>.</param> |
| 198 |
<param name="continueOnCapturedContext"> |
| 199 |
true to attempt to marshal the continuation back to the original context captured; otherwise, false. |
| 200 |
</param> |
| 201 |
</member> |
| 202 |
<member name="M:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.GetAwaiter"> |
| 203 |
<summary>Gets an awaiter for this awaitable.</summary> |
| 204 |
<returns>The awaiter.</returns> |
| 205 |
</member> |
| 206 |
<member name="T:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter"> |
| 207 |
<summary>Provides an awaiter for a <see cref="T:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1"/>.</summary> |
| 208 |
<remarks>This type is intended for compiler use only.</remarks> |
| 209 |
</member> |
| 210 |
<member name="F:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.m_task"> |
| 211 |
<summary>The task being awaited.</summary> |
| 212 |
</member> |
| 213 |
<member name="F:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.m_continueOnCapturedContext"> |
| 214 |
<summary>Whether to attempt marshaling back to the original context.</summary> |
| 215 |
</member> |
| 216 |
<member name="M:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.#ctor(System.Threading.Tasks.Task{`0},System.Boolean)"> |
| 217 |
<summary>Initializes the <see cref="T:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter"/>.</summary> |
| 218 |
<param name="task">The awaitable <see cref="T:System.Threading.Tasks.Task`1"/>.</param> |
| 219 |
<param name="continueOnCapturedContext"> |
| 220 |
true to attempt to marshal the continuation back to the original context captured; otherwise, false. |
| 221 |
</param> |
| 222 |
</member> |
| 223 |
<member name="M:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.OnCompleted(System.Action)"> |
| 224 |
<summary>Schedules the continuation onto the <see cref="T:System.Threading.Tasks.Task"/> associated with this <see cref="T:Microsoft.Runtime.CompilerServices.TaskAwaiter"/>.</summary> |
| 225 |
<param name="continuation">The action to invoke when the await operation completes.</param> |
| 226 |
<exception cref="T:System.ArgumentNullException">The <paramref name="continuation"/> argument is null (Nothing in Visual Basic).</exception> |
| 227 |
<exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception> |
| 228 |
<remarks>This method is intended for compiler user rather than use directly in code.</remarks> |
| 229 |
</member> |
| 230 |
<member name="M:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.UnsafeOnCompleted(System.Action)"> |
| 231 |
<summary>Schedules the continuation onto the <see cref="T:System.Threading.Tasks.Task"/> associated with this <see cref="T:Microsoft.Runtime.CompilerServices.TaskAwaiter"/>.</summary> |
| 232 |
<param name="continuation">The action to invoke when the await operation completes.</param> |
| 233 |
<exception cref="T:System.ArgumentNullException">The <paramref name="continuation"/> argument is null (Nothing in Visual Basic).</exception> |
| 234 |
<exception cref="T:System.InvalidOperationException">The awaiter was not properly initialized.</exception> |
| 235 |
<remarks>This method is intended for compiler user rather than use directly in code.</remarks> |
| 236 |
</member> |
| 237 |
<member name="M:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult"> |
| 238 |
<summary>Ends the await on the completed <see cref="T:System.Threading.Tasks.Task`1"/>.</summary> |
| 239 |
<returns>The result of the completed <see cref="T:System.Threading.Tasks.Task`1"/>.</returns> |
| 240 |
<exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception> |
| 241 |
<exception cref="T:System.InvalidOperationException">The task was not yet completed.</exception> |
| 242 |
<exception cref="T:System.Threading.Tasks.TaskCanceledException">The task was canceled.</exception> |
| 243 |
<exception cref="T:System.Exception">The task completed in a Faulted state.</exception> |
| 244 |
</member> |
| 245 |
<member name="P:Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.IsCompleted"> |
| 246 |
<summary>Gets whether the task being awaited is completed.</summary> |
| 247 |
<remarks>This property is intended for compiler user rather than use directly in code.</remarks> |
| 248 |
<exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception> |
| 249 |
</member> |
| 250 |
<member name="T:Microsoft.Runtime.CompilerServices.TaskAwaiter"> |
| 251 |
<summary>Provides an awaiter for awaiting a <see cref="T:System.Threading.Tasks.Task"/>.</summary> |
| 252 |
<remarks>This type is intended for compiler use only.</remarks> |
| 253 |
</member> |
| 254 |
<member name="F:Microsoft.Runtime.CompilerServices.TaskAwaiter.CONTINUE_ON_CAPTURED_CONTEXT_DEFAULT"> |
| 255 |
<summary>The default value to use for continueOnCapturedContext.</summary> |
| 256 |
</member> |
| 257 |
<member name="F:Microsoft.Runtime.CompilerServices.TaskAwaiter.InvalidOperationException_TaskNotCompleted"> |
| 258 |
<summary>Error message for GetAwaiter.</summary> |
| 259 |
</member> |
| 260 |
<member name="F:Microsoft.Runtime.CompilerServices.TaskAwaiter.m_task"> |
| 261 |
<summary>The task being awaited.</summary> |
| 262 |
</member> |
| 263 |
<member name="M:Microsoft.Runtime.CompilerServices.TaskAwaiter.#ctor(System.Threading.Tasks.Task)"> |
| 264 |
<summary>Initializes the <see cref="T:Microsoft.Runtime.CompilerServices.TaskAwaiter"/>.</summary> |
| 265 |
<param name="task">The <see cref="T:System.Threading.Tasks.Task"/> to be awaited.</param> |
| 266 |
</member> |
| 267 |
<member name="M:Microsoft.Runtime.CompilerServices.TaskAwaiter.OnCompleted(System.Action)"> |
| 268 |
<summary>Schedules the continuation onto the <see cref="T:System.Threading.Tasks.Task"/> associated with this <see cref="T:Microsoft.Runtime.CompilerServices.TaskAwaiter"/>.</summary> |
| 269 |
<param name="continuation">The action to invoke when the await operation completes.</param> |
| 270 |
<exception cref="T:System.ArgumentNullException">The <paramref name="continuation"/> argument is null (Nothing in Visual Basic).</exception> |
| 271 |
<exception cref="T:System.InvalidOperationException">The awaiter was not properly initialized.</exception> |
| 272 |
<remarks>This method is intended for compiler user rather than use directly in code.</remarks> |
| 273 |
</member> |
| 274 |
<member name="M:Microsoft.Runtime.CompilerServices.TaskAwaiter.UnsafeOnCompleted(System.Action)"> |
| 275 |
<summary>Schedules the continuation onto the <see cref="T:System.Threading.Tasks.Task"/> associated with this <see cref="T:Microsoft.Runtime.CompilerServices.TaskAwaiter"/>.</summary> |
| 276 |
<param name="continuation">The action to invoke when the await operation completes.</param> |
| 277 |
<exception cref="T:System.ArgumentNullException">The <paramref name="continuation"/> argument is null (Nothing in Visual Basic).</exception> |
| 278 |
<exception cref="T:System.InvalidOperationException">The awaiter was not properly initialized.</exception> |
| 279 |
<remarks>This method is intended for compiler user rather than use directly in code.</remarks> |
| 280 |
</member> |
| 281 |
<member name="M:Microsoft.Runtime.CompilerServices.TaskAwaiter.GetResult"> |
| 282 |
<summary>Ends the await on the completed <see cref="T:System.Threading.Tasks.Task"/>.</summary> |
| 283 |
<exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception> |
| 284 |
<exception cref="T:System.InvalidOperationException">The task was not yet completed.</exception> |
| 285 |
<exception cref="T:System.Threading.Tasks.TaskCanceledException">The task was canceled.</exception> |
| 286 |
<exception cref="T:System.Exception">The task completed in a Faulted state.</exception> |
| 287 |
</member> |
| 288 |
<member name="M:Microsoft.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(System.Threading.Tasks.Task)"> |
| 289 |
<summary> |
| 290 |
Fast checks for the end of an await operation to determine whether more needs to be done |
| 291 |
prior to completing the await. |
| 292 |
</summary> |
| 293 |
<param name="task">The awaited task.</param> |
| 294 |
</member> |
| 295 |
<member name="M:Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(System.Threading.Tasks.Task)"> |
| 296 |
<summary>Handles validations on tasks that aren't successfully completed.</summary> |
| 297 |
<param name="task">The awaited task.</param> |
| 298 |
</member> |
| 299 |
<member name="M:Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)"> |
| 300 |
<summary>Throws an exception to handle a task that completed in a state other than RanToCompletion.</summary> |
| 301 |
</member> |
| 302 |
<member name="M:Microsoft.Runtime.CompilerServices.TaskAwaiter.OnCompletedInternal(System.Threading.Tasks.Task,System.Action,System.Boolean)"> |
| 303 |
<summary>Schedules the continuation onto the <see cref="T:System.Threading.Tasks.Task"/> associated with this <see cref="T:Microsoft.Runtime.CompilerServices.TaskAwaiter"/>.</summary> |
| 304 |
<param name="task">The awaited task.</param> |
| 305 |
<param name="continuation">The action to invoke when the await operation completes.</param> |
| 306 |
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param> |
| 307 |
<exception cref="T:System.ArgumentNullException">The <paramref name="continuation"/> argument is null (Nothing in Visual Basic).</exception> |
| 308 |
<exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception> |
| 309 |
<remarks>This method is intended for compiler user rather than use directly in code.</remarks> |
| 310 |
</member> |
| 311 |
<member name="M:Microsoft.Runtime.CompilerServices.TaskAwaiter.RunNoException(System.Action)"> |
| 312 |
<summary>Invokes the delegate in a try/catch that will propagate the exception asynchronously on the ThreadPool.</summary> |
| 313 |
<param name="continuation"></param> |
| 314 |
</member> |
| 315 |
<member name="M:Microsoft.Runtime.CompilerServices.TaskAwaiter.PrepareExceptionForRethrow(System.Exception)"> |
| 316 |
<summary>Copies the exception's stack trace so its stack trace isn't overwritten.</summary> |
| 317 |
<param name="exc">The exception to prepare.</param> |
| 318 |
</member> |
| 319 |
<member name="P:Microsoft.Runtime.CompilerServices.TaskAwaiter.IsCompleted"> |
| 320 |
<summary>Gets whether the task being awaited is completed.</summary> |
| 321 |
<remarks>This property is intended for compiler user rather than use directly in code.</remarks> |
| 322 |
<exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception> |
| 323 |
</member> |
| 324 |
<member name="P:Microsoft.Runtime.CompilerServices.TaskAwaiter.IsValidLocationForInlining"> |
| 325 |
<summary>Whether the current thread is appropriate for inlining the await continuation.</summary> |
| 326 |
</member> |
| 327 |
<member name="T:Microsoft.Runtime.CompilerServices.TaskAwaiter`1"> |
| 328 |
<summary>Provides an awaiter for awaiting a <see cref="T:System.Threading.Tasks.Task`1"/>.</summary> |
| 329 |
<remarks>This type is intended for compiler use only.</remarks> |
| 330 |
</member> |
| 331 |
<member name="F:Microsoft.Runtime.CompilerServices.TaskAwaiter`1.m_task"> |
| 332 |
<summary>The task being awaited.</summary> |
| 333 |
</member> |
| 334 |
<member name="M:Microsoft.Runtime.CompilerServices.TaskAwaiter`1.#ctor(System.Threading.Tasks.Task{`0})"> |
| 335 |
<summary>Initializes the <see cref="T:Microsoft.Runtime.CompilerServices.TaskAwaiter`1"/>.</summary> |
| 336 |
<param name="task">The <see cref="T:System.Threading.Tasks.Task`1"/> to be awaited.</param> |
| 337 |
</member> |
| 338 |
<member name="M:Microsoft.Runtime.CompilerServices.TaskAwaiter`1.OnCompleted(System.Action)"> |
| 339 |
<summary>Schedules the continuation onto the <see cref="T:System.Threading.Tasks.Task"/> associated with this <see cref="T:Microsoft.Runtime.CompilerServices.TaskAwaiter"/>.</summary> |
| 340 |
<param name="continuation">The action to invoke when the await operation completes.</param> |
| 341 |
<exception cref="T:System.ArgumentNullException">The <paramref name="continuation"/> argument is null (Nothing in Visual Basic).</exception> |
| 342 |
<exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception> |
| 343 |
<remarks>This method is intended for compiler user rather than use directly in code.</remarks> |
| 344 |
</member> |
| 345 |
<member name="M:Microsoft.Runtime.CompilerServices.TaskAwaiter`1.UnsafeOnCompleted(System.Action)"> |
| 346 |
<summary>Schedules the continuation onto the <see cref="T:System.Threading.Tasks.Task"/> associated with this <see cref="T:Microsoft.Runtime.CompilerServices.TaskAwaiter"/>.</summary> |
| 347 |
<param name="continuation">The action to invoke when the await operation completes.</param> |
| 348 |
<exception cref="T:System.ArgumentNullException">The <paramref name="continuation"/> argument is null (Nothing in Visual Basic).</exception> |
| 349 |
<exception cref="T:System.InvalidOperationException">The awaiter was not properly initialized.</exception> |
| 350 |
<remarks>This method is intended for compiler user rather than use directly in code.</remarks> |
| 351 |
</member> |
| 352 |
<member name="M:Microsoft.Runtime.CompilerServices.TaskAwaiter`1.GetResult"> |
| 353 |
<summary>Ends the await on the completed <see cref="T:System.Threading.Tasks.Task`1"/>.</summary> |
| 354 |
<returns>The result of the completed <see cref="T:System.Threading.Tasks.Task`1"/>.</returns> |
| 355 |
<exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception> |
| 356 |
<exception cref="T:System.InvalidOperationException">The task was not yet completed.</exception> |
| 357 |
<exception cref="T:System.Threading.Tasks.TaskCanceledException">The task was canceled.</exception> |
| 358 |
<exception cref="T:System.Exception">The task completed in a Faulted state.</exception> |
| 359 |
</member> |
| 360 |
<member name="P:Microsoft.Runtime.CompilerServices.TaskAwaiter`1.IsCompleted"> |
| 361 |
<summary>Gets whether the task being awaited is completed.</summary> |
| 362 |
<remarks>This property is intended for compiler user rather than use directly in code.</remarks> |
| 363 |
<exception cref="T:System.NullReferenceException">The awaiter was not properly initialized.</exception> |
| 364 |
</member> |
| 365 |
<member name="T:Microsoft.Runtime.CompilerServices.YieldAwaitable"> |
| 366 |
<summary>Provides an awaitable context for switching into a target environment.</summary> |
| 367 |
<remarks>This type is intended for compiler use only.</remarks> |
| 368 |
</member> |
| 369 |
<member name="M:Microsoft.Runtime.CompilerServices.YieldAwaitable.GetAwaiter"> |
| 370 |
<summary>Gets an awaiter for this <see cref="T:Microsoft.Runtime.CompilerServices.YieldAwaitable"/>.</summary> |
| 371 |
<returns>An awaiter for this awaitable.</returns> |
| 372 |
<remarks>This method is intended for compiler user rather than use directly in code.</remarks> |
| 373 |
</member> |
| 374 |
<member name="T:Microsoft.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter"> |
| 375 |
<summary>Provides an awaiter that switches into a target environment.</summary> |
| 376 |
<remarks>This type is intended for compiler use only.</remarks> |
| 377 |
</member> |
| 378 |
<member name="F:Microsoft.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.s_completed"> |
| 379 |
<summary>A completed task.</summary> |
| 380 |
</member> |
| 381 |
<member name="M:Microsoft.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.OnCompleted(System.Action)"> |
| 382 |
<summary>Posts the <paramref name="continuation"/> back to the current context.</summary> |
| 383 |
<param name="continuation">The action to invoke asynchronously.</param> |
| 384 |
<exception cref="T:System.InvalidOperationException">The awaiter was not properly initialized.</exception> |
| 385 |
</member> |
| 386 |
<member name="M:Microsoft.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.UnsafeOnCompleted(System.Action)"> |
| 387 |
<summary>Posts the <paramref name="continuation"/> back to the current context.</summary> |
| 388 |
<param name="continuation">The action to invoke asynchronously.</param> |
| 389 |
<exception cref="T:System.InvalidOperationException">The awaiter was not properly initialized.</exception> |
| 390 |
</member> |
| 391 |
<member name="M:Microsoft.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.GetResult"> |
| 392 |
<summary>Ends the await operation.</summary> |
| 393 |
</member> |
| 394 |
<member name="P:Microsoft.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter.IsCompleted"> |
| 395 |
<summary>Gets whether a yield is not required.</summary> |
| 396 |
<remarks>This property is intended for compiler user rather than use directly in code.</remarks> |
| 397 |
</member> |
| 398 |
<member name="T:System.Threading.Tasks.TaskEx"> |
| 399 |
<summary>Provides methods for creating and manipulating tasks.</summary> |
| 400 |
</member> |
| 401 |
<member name="M:System.Threading.Tasks.TaskEx.Run(System.Action)"> |
| 402 |
<summary>Creates a task that runs the specified action.</summary> |
| 403 |
<param name="action">The action to execute asynchronously.</param> |
| 404 |
<returns>A task that represents the completion of the action.</returns> |
| 405 |
<exception cref="T:System.ArgumentNullException">The <paramref name="action"/> argument is null.</exception> |
| 406 |
</member> |
| 407 |
<member name="M:System.Threading.Tasks.TaskEx.Run(System.Action,System.Threading.CancellationToken)"> |
| 408 |
<summary>Creates a task that runs the specified action.</summary> |
| 409 |
<param name="action">The action to execute.</param> |
| 410 |
<param name="cancellationToken">The CancellationToken to use to request cancellation of this task.</param> |
| 411 |
<returns>A task that represents the completion of the action.</returns> |
| 412 |
<exception cref="T:System.ArgumentNullException">The <paramref name="action"/> argument is null.</exception> |
| 413 |
</member> |
| 414 |
<member name="M:System.Threading.Tasks.TaskEx.Run``1(System.Func{``0})"> |
| 415 |
<summary>Creates a task that runs the specified function.</summary> |
| 416 |
<param name="function">The function to execute asynchronously.</param> |
| 417 |
<returns>A task that represents the completion of the action.</returns> |
| 418 |
<exception cref="T:System.ArgumentNullException">The <paramref name="function"/> argument is null.</exception> |
| 419 |
</member> |
| 420 |
<member name="M:System.Threading.Tasks.TaskEx.Run``1(System.Func{``0},System.Threading.CancellationToken)"> |
| 421 |
<summary>Creates a task that runs the specified function.</summary> |
| 422 |
<param name="function">The action to execute.</param> |
| 423 |
<param name="cancellationToken">The CancellationToken to use to cancel the task.</param> |
| 424 |
<returns>A task that represents the completion of the action.</returns> |
| 425 |
<exception cref="T:System.ArgumentNullException">The <paramref name="function"/> argument is null.</exception> |
| 426 |
</member> |
| 427 |
<member name="M:System.Threading.Tasks.TaskEx.Run(System.Func{System.Threading.Tasks.Task})"> |
| 428 |
<summary>Creates a task that runs the specified function.</summary> |
| 429 |
<param name="function">The action to execute asynchronously.</param> |
| 430 |
<returns>A task that represents the completion of the action.</returns> |
| 431 |
<exception cref="T:System.ArgumentNullException">The <paramref name="function"/> argument is null.</exception> |
| 432 |
</member> |
| 433 |
<member name="M:System.Threading.Tasks.TaskEx.Run(System.Func{System.Threading.Tasks.Task},System.Threading.CancellationToken)"> |
| 434 |
<summary>Creates a task that runs the specified function.</summary> |
| 435 |
<param name="function">The function to execute.</param> |
| 436 |
<param name="cancellationToken">The CancellationToken to use to request cancellation of this task.</param> |
| 437 |
<returns>A task that represents the completion of the function.</returns> |
| 438 |
<exception cref="T:System.ArgumentNullException">The <paramref name="function"/> argument is null.</exception> |
| 439 |
</member> |
| 440 |
<member name="M:System.Threading.Tasks.TaskEx.Run``1(System.Func{System.Threading.Tasks.Task{``0}})"> |
| 441 |
<summary>Creates a task that runs the specified function.</summary> |
| 442 |
<param name="function">The function to execute asynchronously.</param> |
| 443 |
<returns>A task that represents the completion of the action.</returns> |
| 444 |
<exception cref="T:System.ArgumentNullException">The <paramref name="function"/> argument is null.</exception> |
| 445 |
</member> |
| 446 |
<member name="M:System.Threading.Tasks.TaskEx.Run``1(System.Func{System.Threading.Tasks.Task{``0}},System.Threading.CancellationToken)"> |
| 447 |
<summary>Creates a task that runs the specified function.</summary> |
| 448 |
<param name="function">The action to execute.</param> |
| 449 |
<param name="cancellationToken">The CancellationToken to use to cancel the task.</param> |
| 450 |
<returns>A task that represents the completion of the action.</returns> |
| 451 |
<exception cref="T:System.ArgumentNullException">The <paramref name="function"/> argument is null.</exception> |
| 452 |
</member> |
| 453 |
<member name="M:System.Threading.Tasks.TaskEx.Delay(System.Int32)"> |
| 454 |
<summary>Starts a Task that will complete after the specified due time.</summary> |
| 455 |
<param name="dueTime">The delay in milliseconds before the returned task completes.</param> |
| 456 |
<returns>The timed Task.</returns> |
| 457 |
<exception cref="T:System.ArgumentOutOfRangeException"> |
| 458 |
The <paramref name="dueTime"/> argument must be non-negative or -1 and less than or equal to Int32.MaxValue. |
| 459 |
</exception> |
| 460 |
</member> |
| 461 |
<member name="M:System.Threading.Tasks.TaskEx.Delay(System.TimeSpan)"> |
| 462 |
<summary>Starts a Task that will complete after the specified due time.</summary> |
| 463 |
<param name="dueTime">The delay before the returned task completes.</param> |
| 464 |
<returns>The timed Task.</returns> |
| 465 |
<exception cref="T:System.ArgumentOutOfRangeException"> |
| 466 |
The <paramref name="dueTime"/> argument must be non-negative or -1 and less than or equal to Int32.MaxValue. |
| 467 |
</exception> |
| 468 |
</member> |
| 469 |
<member name="M:System.Threading.Tasks.TaskEx.Delay(System.TimeSpan,System.Threading.CancellationToken)"> |
| 470 |
<summary>Starts a Task that will complete after the specified due time.</summary> |
| 471 |
<param name="dueTime">The delay before the returned task completes.</param> |
| 472 |
<param name="cancellationToken">A CancellationToken that may be used to cancel the task before the due time occurs.</param> |
| 473 |
<returns>The timed Task.</returns> |
| 474 |
<exception cref="T:System.ArgumentOutOfRangeException"> |
| 475 |
The <paramref name="dueTime"/> argument must be non-negative or -1 and less than or equal to Int32.MaxValue. |
| 476 |
</exception> |
| 477 |
</member> |
| 478 |
<member name="M:System.Threading.Tasks.TaskEx.Delay(System.Int32,System.Threading.CancellationToken)"> |
| 479 |
<summary>Starts a Task that will complete after the specified due time.</summary> |
| 480 |
<param name="dueTime">The delay in milliseconds before the returned task completes.</param> |
| 481 |
<param name="cancellationToken">A CancellationToken that may be used to cancel the task before the due time occurs.</param> |
| 482 |
<returns>The timed Task.</returns> |
| 483 |
<exception cref="T:System.ArgumentOutOfRangeException"> |
| 484 |
The <paramref name="dueTime"/> argument must be non-negative or -1 and less than or equal to Int32.MaxValue. |
| 485 |
</exception> |
| 486 |
</member> |
| 487 |
<member name="F:System.Threading.Tasks.TaskEx.s_preCompletedTask"> |
| 488 |
<summary>An already completed task.</summary> |
| 489 |
</member> |
| 490 |
<member name="M:System.Threading.Tasks.TaskEx.WhenAll(System.Threading.Tasks.Task[])"> |
| 491 |
<summary>Creates a Task that will complete only when all of the provided collection of Tasks has completed.</summary> |
| 492 |
<param name="tasks">The Tasks to monitor for completion.</param> |
| 493 |
<returns>A Task that represents the completion of all of the provided tasks.</returns> |
| 494 |
<remarks> |
| 495 |
If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information |
| 496 |
about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned |
| 497 |
Task will also be canceled. |
| 498 |
</remarks> |
| 499 |
<exception cref="T:System.ArgumentNullException">The <paramref name="tasks"/> argument is null.</exception> |
| 500 |
<exception cref="T:System.ArgumentException">The <paramref name="tasks"/> argument contains a null reference.</exception> |
| 501 |
</member> |
| 502 |
<member name="M:System.Threading.Tasks.TaskEx.WhenAll``1(System.Threading.Tasks.Task{``0}[])"> |
| 503 |
<summary>Creates a Task that will complete only when all of the provided collection of Tasks has completed.</summary> |
| 504 |
<param name="tasks">The Tasks to monitor for completion.</param> |
| 505 |
<returns>A Task that represents the completion of all of the provided tasks.</returns> |
| 506 |
<remarks> |
| 507 |
If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information |
| 508 |
about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned |
| 509 |
Task will also be canceled. |
| 510 |
</remarks> |
| 511 |
<exception cref="T:System.ArgumentNullException">The <paramref name="tasks"/> argument is null.</exception> |
| 512 |
<exception cref="T:System.ArgumentException">The <paramref name="tasks"/> argument contains a null reference.</exception> |
| 513 |
</member> |
| 514 |
<member name="M:System.Threading.Tasks.TaskEx.WhenAll(System.Collections.Generic.IEnumerable{System.Threading.Tasks.Task})"> |
| 515 |
<summary>Creates a Task that will complete only when all of the provided collection of Tasks has completed.</summary> |
| 516 |
<param name="tasks">The Tasks to monitor for completion.</param> |
| 517 |
<returns>A Task that represents the completion of all of the provided tasks.</returns> |
| 518 |
<remarks> |
| 519 |
If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information |
| 520 |
about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned |
| 521 |
Task will also be canceled. |
| 522 |
</remarks> |
| 523 |
<exception cref="T:System.ArgumentNullException">The <paramref name="tasks"/> argument is null.</exception> |
| 524 |
<exception cref="T:System.ArgumentException">The <paramref name="tasks"/> argument contains a null reference.</exception> |
| 525 |
</member> |
| 526 |
<member name="M:System.Threading.Tasks.TaskEx.WhenAll``1(System.Collections.Generic.IEnumerable{System.Threading.Tasks.Task{``0}})"> |
| 527 |
<summary>Creates a Task that will complete only when all of the provided collection of Tasks has completed.</summary> |
| 528 |
<param name="tasks">The Tasks to monitor for completion.</param> |
| 529 |
<returns>A Task that represents the completion of all of the provided tasks.</returns> |
| 530 |
<remarks> |
| 531 |
If any of the provided Tasks faults, the returned Task will also fault, and its Exception will contain information |
| 532 |
about all of the faulted tasks. If no Tasks fault but one or more Tasks is canceled, the returned |
| 533 |
Task will also be canceled. |
| 534 |
</remarks> |
| 535 |
<exception cref="T:System.ArgumentNullException">The <paramref name="tasks"/> argument is null.</exception> |
| 536 |
<exception cref="T:System.ArgumentException">The <paramref name="tasks"/> argument contains a null reference.</exception> |
| 537 |
</member> |
| 538 |
<member name="M:System.Threading.Tasks.TaskEx.WhenAllCore``1(System.Collections.Generic.IEnumerable{System.Threading.Tasks.Task},System.Action{System.Threading.Tasks.Task[],System.Threading.Tasks.TaskCompletionSource{``0}})"> |
| 539 |
<summary>Creates a Task that will complete only when all of the provided collection of Tasks has completed.</summary> |
| 540 |
<param name="tasks">The Tasks to monitor for completion.</param> |
| 541 |
<param name="setResultAction"> |
| 542 |
A callback invoked when all of the tasks complete successfully in the RanToCompletion state. |
| 543 |
This callback is responsible for storing the results into the TaskCompletionSource. |
| 544 |
</param> |
| 545 |
<returns>A Task that represents the completion of all of the provided tasks.</returns> |
| 546 |
<exception cref="T:System.ArgumentNullException">The <paramref name="tasks"/> argument is null.</exception> |
| 547 |
<exception cref="T:System.ArgumentException">The <paramref name="tasks"/> argument contains a null reference.</exception> |
| 548 |
</member> |
| 549 |
<member name="M:System.Threading.Tasks.TaskEx.WhenAny(System.Threading.Tasks.Task[])"> |
| 550 |
<summary>Creates a Task that will complete when any of the tasks in the provided collection completes.</summary> |
| 551 |
<param name="tasks">The Tasks to be monitored.</param> |
| 552 |
<returns> |
| 553 |
A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. |
| 554 |
</returns> |
| 555 |
<remarks>Any Tasks that fault will need to have their exceptions observed elsewhere.</remarks> |
| 556 |
<exception cref="T:System.ArgumentNullException">The <paramref name="tasks"/> argument is null.</exception> |
| 557 |
<exception cref="T:System.ArgumentException">The <paramref name="tasks"/> argument contains a null reference.</exception> |
| 558 |
</member> |
| 559 |
<member name="M:System.Threading.Tasks.TaskEx.WhenAny(System.Collections.Generic.IEnumerable{System.Threading.Tasks.Task})"> |
| 560 |
<summary>Creates a Task that will complete when any of the tasks in the provided collection completes.</summary> |
| 561 |
<param name="tasks">The Tasks to be monitored.</param> |
| 562 |
<returns> |
| 563 |
A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. |
| 564 |
</returns> |
| 565 |
<remarks>Any Tasks that fault will need to have their exceptions observed elsewhere.</remarks> |
| 566 |
<exception cref="T:System.ArgumentNullException">The <paramref name="tasks"/> argument is null.</exception> |
| 567 |
<exception cref="T:System.ArgumentException">The <paramref name="tasks"/> argument contains a null reference.</exception> |
| 568 |
</member> |
| 569 |
<member name="M:System.Threading.Tasks.TaskEx.WhenAny``1(System.Threading.Tasks.Task{``0}[])"> |
| 570 |
<summary>Creates a Task that will complete when any of the tasks in the provided collection completes.</summary> |
| 571 |
<param name="tasks">The Tasks to be monitored.</param> |
| 572 |
<returns> |
| 573 |
A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. |
| 574 |
</returns> |
| 575 |
<remarks>Any Tasks that fault will need to have their exceptions observed elsewhere.</remarks> |
| 576 |
<exception cref="T:System.ArgumentNullException">The <paramref name="tasks"/> argument is null.</exception> |
| 577 |
<exception cref="T:System.ArgumentException">The <paramref name="tasks"/> argument contains a null reference.</exception> |
| 578 |
</member> |
| 579 |
<member name="M:System.Threading.Tasks.TaskEx.WhenAny``1(System.Collections.Generic.IEnumerable{System.Threading.Tasks.Task{``0}})"> |
| 580 |
<summary>Creates a Task that will complete when any of the tasks in the provided collection completes.</summary> |
| 581 |
<param name="tasks">The Tasks to be monitored.</param> |
| 582 |
<returns> |
| 583 |
A Task that represents the completion of any of the provided Tasks. The completed Task is this Task's result. |
| 584 |
</returns> |
| 585 |
<remarks>Any Tasks that fault will need to have their exceptions observed elsewhere.</remarks> |
| 586 |
<exception cref="T:System.ArgumentNullException">The <paramref name="tasks"/> argument is null.</exception> |
| 587 |
<exception cref="T:System.ArgumentException">The <paramref name="tasks"/> argument contains a null reference.</exception> |
| 588 |
</member> |
| 589 |
<member name="M:System.Threading.Tasks.TaskEx.FromResult``1(``0)"> |
| 590 |
<summary>Creates an already completed <see cref="T:System.Threading.Tasks.Task`1"/> from the specified result.</summary> |
| 591 |
<param name="result">The result from which to create the completed task.</param> |
| 592 |
<returns>The completed task.</returns> |
| 593 |
</member> |
| 594 |
<member name="M:System.Threading.Tasks.TaskEx.Yield"> |
| 595 |
<summary>Creates an awaitable that asynchronously yields back to the current context when awaited.</summary> |
| 596 |
<returns> |
| 597 |
A context that, when awaited, will asynchronously transition back into the current context. |
| 598 |
If SynchronizationContext.Current is non-null, that is treated as the current context. |
| 599 |
Otherwise, TaskScheduler.Current is treated as the current context. |
| 600 |
</returns> |
| 601 |
</member> |
| 602 |
<member name="M:System.Threading.Tasks.TaskEx.AddPotentiallyUnwrappedExceptions(System.Collections.Generic.List{System.Exception}@,System.Exception)"> |
| 603 |
<summary>Adds the target exception to the list, initializing the list if it's null.</summary> |
| 604 |
<param name="targetList">The list to which to add the exception and initialize if the list is null.</param> |
| 605 |
<param name="exception">The exception to add, and unwrap if it's an aggregate.</param> |
| 606 |
</member> |
| 607 |
<member name="M:System.Threading.Tasks.TaskServices.FromCancellation(System.Threading.CancellationToken)"> |
| 608 |
<summary>Returns a canceled task.</summary> |
| 609 |
<param name="cancellationToken">The cancellation token.</param> |
| 610 |
<returns>The canceled task.</returns> |
| 611 |
</member> |
| 612 |
<member name="M:System.Threading.Tasks.TaskServices.FromCancellation``1(System.Threading.CancellationToken)"> |
| 613 |
<summary>Returns a canceled task.</summary> |
| 614 |
<typeparam name="TResult">Specifies the type of the result.</typeparam> |
| 615 |
<param name="cancellationToken">The cancellation token.</param> |
| 616 |
<returns>The canceled task.</returns> |
| 617 |
</member> |
| 618 |
<member name="M:System.Threading.Tasks.TaskServices.HandleEapCompletion``1(System.Threading.Tasks.TaskCompletionSource{``0},System.Boolean,System.ComponentModel.AsyncCompletedEventArgs,System.Func{``0},System.Action)"> |
| 619 |
<summary> |
| 620 |
Completes the Task if the user state matches the TaskCompletionSource. |
| 621 |
</summary> |
| 622 |
<typeparam name="T">Specifies the type of data returned by the Task.</typeparam> |
| 623 |
<param name="tcs">The TaskCompletionSource.</param> |
| 624 |
<param name="e">The completion event arguments.</param> |
| 625 |
<param name="requireMatch">Whether we require the tcs to match the e.UserState.</param> |
| 626 |
<param name="getResult">A function that gets the result with which to complete the task.</param> |
| 627 |
<param name="unregisterHandler">An action used to unregister work when the operaiton completes.</param> |
| 628 |
</member> |
| 629 |
</members> |
| 630 |
</doc> |