| 1 |
<?xml version="1.0"?> |
| 2 |
<doc> |
| 3 |
<assembly> |
| 4 |
<name>System.Threading.Tasks</name> |
| 5 |
</assembly> |
| 6 |
<members> |
| 7 |
<member name="T:System.Runtime.CompilerServices.AsyncMethodBuilderCore"> |
| 8 |
<summary>Holds state related to the builder's IAsyncStateMachine.</summary> |
| 9 |
<remarks>This is a mutable struct. Be very delicate with it.</remarks> |
| 10 |
</member> |
| 11 |
<member name="F:System.Runtime.CompilerServices.AsyncMethodBuilderCore.m_stateMachine"> |
| 12 |
<summary>A reference to the heap-allocated state machine object associated with this builder.</summary> |
| 13 |
</member> |
| 14 |
<member name="M:System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start``1(``0@)"> |
| 15 |
<summary>Initiates the builder's execution with the associated state machine.</summary> |
| 16 |
<typeparam name="TStateMachine">Specifies the type of the state machine.</typeparam> |
| 17 |
<param name="stateMachine">The state machine instance, passed by reference.</param> |
| 18 |
<exception cref="T:System.ArgumentNullException">The <paramref name="stateMachine"/> argument is null (Nothing in Visual Basic).</exception> |
| 19 |
</member> |
| 20 |
<member name="M:System.Runtime.CompilerServices.AsyncMethodBuilderCore.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)"> |
| 21 |
<summary>Associates the builder with the state machine it represents.</summary> |
| 22 |
<param name="stateMachine">The heap-allocated state machine object.</param> |
| 23 |
<exception cref="T:System.ArgumentNullException">The <paramref name="stateMachine"/> argument was null (Nothing in Visual Basic).</exception> |
| 24 |
<exception cref="T:System.InvalidOperationException">The builder is incorrectly initialized.</exception> |
| 25 |
</member> |
| 26 |
<member name="M:System.Runtime.CompilerServices.AsyncMethodBuilderCore.GetCompletionAction``2(``0@,``1@)"> |
| 27 |
<summary> |
| 28 |
Gets the Action to use with an awaiter's OnCompleted or UnsafeOnCompleted method. |
| 29 |
On first invocation, the supplied state machine will be boxed. |
| 30 |
</summary> |
| 31 |
<typeparam name="TMethodBuilder">Specifies the type of the method builder used.</typeparam> |
| 32 |
<typeparam name="TStateMachine">Specifies the type of the state machine used.</typeparam> |
| 33 |
<param name="builder">The builder.</param> |
| 34 |
<param name="stateMachine">The state machine.</param> |
| 35 |
<returns>An Action to provide to the awaiter.</returns> |
| 36 |
</member> |
| 37 |
<member name="T:System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner"> |
| 38 |
<summary>Provides the ability to invoke a state machine's MoveNext method under a supplied ExecutionContext.</summary> |
| 39 |
</member> |
| 40 |
<member name="F:System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.m_context"> |
| 41 |
<summary>The context with which to run MoveNext.</summary> |
| 42 |
</member> |
| 43 |
<member name="F:System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.m_stateMachine"> |
| 44 |
<summary>The state machine whose MoveNext method should be invoked.</summary> |
| 45 |
</member> |
| 46 |
<member name="M:System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.#ctor(System.ExecutionContextLightup)"> |
| 47 |
<summary>Initializes the runner.</summary> |
| 48 |
<param name="context">The context with which to run MoveNext.</param> |
| 49 |
</member> |
| 50 |
<member name="M:System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run"> |
| 51 |
<summary>Invokes MoveNext under the provided context.</summary> |
| 52 |
</member> |
| 53 |
<member name="F:System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.s_invokeMoveNext"> |
| 54 |
<summary>Cached delegate used with ExecutionContext.Run.</summary> |
| 55 |
</member> |
| 56 |
<member name="M:System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(System.Object)"> |
| 57 |
<summary>Invokes the MoveNext method on the supplied IAsyncStateMachine.</summary> |
| 58 |
<param name="stateMachine">The IAsyncStateMachine machine instance.</param> |
| 59 |
</member> |
| 60 |
<member name="T:System.Runtime.CompilerServices.AsyncMethodTaskCache`1"> |
| 61 |
<summary>Provides a base class used to cache tasks of a specific return type.</summary> |
| 62 |
<typeparam name="TResult">Specifies the type of results the cached tasks return.</typeparam> |
| 63 |
</member> |
| 64 |
<member name="F:System.Runtime.CompilerServices.AsyncMethodTaskCache`1.Singleton"> |
| 65 |
<summary> |
| 66 |
A singleton cache for this result type. |
| 67 |
This may be null if there are no cached tasks for this TResult. |
| 68 |
</summary> |
| 69 |
</member> |
| 70 |
<member name="M:System.Runtime.CompilerServices.AsyncMethodTaskCache`1.CreateCompleted(`0)"> |
| 71 |
<summary>Creates a non-disposable task.</summary> |
| 72 |
<param name="result">The result for the task.</param> |
| 73 |
<returns>The cacheable task.</returns> |
| 74 |
</member> |
| 75 |
<member name="M:System.Runtime.CompilerServices.AsyncMethodTaskCache`1.CreateCache"> |
| 76 |
<summary>Creates a cache.</summary> |
| 77 |
<returns>A task cache for this result type.</returns> |
| 78 |
</member> |
| 79 |
<member name="M:System.Runtime.CompilerServices.AsyncMethodTaskCache`1.FromResult(`0)"> |
| 80 |
<summary>Gets a cached task if one exists.</summary> |
| 81 |
<param name="result">The result for which we want a cached task.</param> |
| 82 |
<returns>A cached task if one exists; otherwise, null.</returns> |
| 83 |
</member> |
| 84 |
<member name="T:System.Runtime.CompilerServices.AsyncMethodTaskCache`1.AsyncMethodBooleanTaskCache"> |
| 85 |
<summary>Provides a cache for Boolean tasks.</summary> |
| 86 |
</member> |
| 87 |
<member name="F:System.Runtime.CompilerServices.AsyncMethodTaskCache`1.AsyncMethodBooleanTaskCache.m_true"> |
| 88 |
<summary>A true task.</summary> |
| 89 |
</member> |
| 90 |
<member name="F:System.Runtime.CompilerServices.AsyncMethodTaskCache`1.AsyncMethodBooleanTaskCache.m_false"> |
| 91 |
<summary>A false task.</summary> |
| 92 |
</member> |
| 93 |
<member name="M:System.Runtime.CompilerServices.AsyncMethodTaskCache`1.AsyncMethodBooleanTaskCache.FromResult(System.Boolean)"> |
| 94 |
<summary>Gets a cached task for the Boolean result.</summary> |
| 95 |
<param name="result">true or false</param> |
| 96 |
<returns>A cached task for the Boolean result.</returns> |
| 97 |
</member> |
| 98 |
<member name="T:System.Runtime.CompilerServices.AsyncMethodTaskCache`1.AsyncMethodInt32TaskCache"> |
| 99 |
<summary>Provides a cache for zero Int32 tasks.</summary> |
| 100 |
</member> |
| 101 |
<member name="F:System.Runtime.CompilerServices.AsyncMethodTaskCache`1.AsyncMethodInt32TaskCache.INCLUSIVE_INT32_MIN"> |
| 102 |
<summary>The minimum value, inclusive, for which we want a cached task.</summary> |
| 103 |
</member> |
| 104 |
<member name="F:System.Runtime.CompilerServices.AsyncMethodTaskCache`1.AsyncMethodInt32TaskCache.EXCLUSIVE_INT32_MAX"> |
| 105 |
<summary>The maximum value, exclusive, for which we want a cached task.</summary> |
| 106 |
</member> |
| 107 |
<member name="F:System.Runtime.CompilerServices.AsyncMethodTaskCache`1.AsyncMethodInt32TaskCache.Int32Tasks"> |
| 108 |
<summary>The cache of Task{Int32}.</summary> |
| 109 |
</member> |
| 110 |
<member name="M:System.Runtime.CompilerServices.AsyncMethodTaskCache`1.AsyncMethodInt32TaskCache.CreateInt32Tasks"> |
| 111 |
<summary>Creates an array of cached tasks for the values in the range [INCLUSIVE_MIN,EXCLUSIVE_MAX).</summary> |
| 112 |
</member> |
| 113 |
<member name="M:System.Runtime.CompilerServices.AsyncMethodTaskCache`1.AsyncMethodInt32TaskCache.FromResult(System.Int32)"> |
| 114 |
<summary>Gets a cached task for the zero Int32 result.</summary> |
| 115 |
<param name="result">The integer value</param> |
| 116 |
<returns>A cached task for the Int32 result or null if not cached.</returns> |
| 117 |
</member> |
| 118 |
<member name="M:System.Runtime.CompilerServices.AsyncServices.ThrowAsync(System.Exception,System.Threading.SynchronizationContext)"> |
| 119 |
<summary>Throws the exception on the ThreadPool.</summary> |
| 120 |
<param name="exception">The exception to propagate.</param> |
| 121 |
<param name="targetContext">The target context on which to propagate the exception. Null to use the ThreadPool.</param> |
| 122 |
</member> |
| 123 |
<member name="M:System.Runtime.CompilerServices.AsyncServices.PrepareExceptionForRethrow(System.Exception)"> |
| 124 |
<summary>Copies the exception's stack trace so its stack trace isn't overwritten.</summary> |
| 125 |
<param name="exc">The exception to prepare.</param> |
| 126 |
</member> |
| 127 |
<member name="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder"> |
| 128 |
<summary> |
| 129 |
Provides a builder for asynchronous methods that return <see cref="T:System.Threading.Tasks.Task"/>. |
| 130 |
This type is intended for compiler use only. |
| 131 |
</summary> |
| 132 |
<remarks> |
| 133 |
AsyncTaskMethodBuilder is a value type, and thus it is copied by value. |
| 134 |
Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, |
| 135 |
or else the copies may end up building distinct Task instances. |
| 136 |
</remarks> |
| 137 |
</member> |
| 138 |
<member name="T:System.Runtime.CompilerServices.IAsyncMethodBuilder"> |
| 139 |
<summary>Represents an asynchronous method builder.</summary> |
| 140 |
</member> |
| 141 |
<member name="F:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.s_cachedCompleted"> |
| 142 |
<summary>A cached VoidTaskResult task used for builders that complete synchronously.</summary> |
| 143 |
</member> |
| 144 |
<member name="F:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.m_builder"> |
| 145 |
<summary>The generic builder object to which this non-generic instance delegates.</summary> |
| 146 |
</member> |
| 147 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Create"> |
| 148 |
<summary>Initializes a new <see cref="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder"/>.</summary> |
| 149 |
<returns>The initialized <see cref="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder"/>.</returns> |
| 150 |
</member> |
| 151 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start``1(``0@)"> |
| 152 |
<summary>Initiates the builder's execution with the associated state machine.</summary> |
| 153 |
<typeparam name="TStateMachine">Specifies the type of the state machine.</typeparam> |
| 154 |
<param name="stateMachine">The state machine instance, passed by reference.</param> |
| 155 |
</member> |
| 156 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)"> |
| 157 |
<summary>Associates the builder with the state machine it represents.</summary> |
| 158 |
<param name="stateMachine">The heap-allocated state machine object.</param> |
| 159 |
<exception cref="T:System.ArgumentNullException">The <paramref name="stateMachine"/> argument was null (Nothing in Visual Basic).</exception> |
| 160 |
<exception cref="T:System.InvalidOperationException">The builder is incorrectly initialized.</exception> |
| 161 |
</member> |
| 162 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.System#Runtime#CompilerServices#IAsyncMethodBuilder#PreBoxInitialization"> |
| 163 |
<summary>Perform any initialization necessary prior to lifting the builder to the heap.</summary> |
| 164 |
</member> |
| 165 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AwaitOnCompleted``2(``0@,``1@)"> |
| 166 |
<summary> |
| 167 |
Schedules the specified state machine to be pushed forward when the specified awaiter completes. |
| 168 |
</summary> |
| 169 |
<typeparam name="TAwaiter">Specifies the type of the awaiter.</typeparam> |
| 170 |
<typeparam name="TStateMachine">Specifies the type of the state machine.</typeparam> |
| 171 |
<param name="awaiter">The awaiter.</param> |
| 172 |
<param name="stateMachine">The state machine.</param> |
| 173 |
</member> |
| 174 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AwaitUnsafeOnCompleted``2(``0@,``1@)"> |
| 175 |
<summary> |
| 176 |
Schedules the specified state machine to be pushed forward when the specified awaiter completes. |
| 177 |
</summary> |
| 178 |
<typeparam name="TAwaiter">Specifies the type of the awaiter.</typeparam> |
| 179 |
<typeparam name="TStateMachine">Specifies the type of the state machine.</typeparam> |
| 180 |
<param name="awaiter">The awaiter.</param> |
| 181 |
<param name="stateMachine">The state machine.</param> |
| 182 |
</member> |
| 183 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult"> |
| 184 |
<summary> |
| 185 |
Completes the <see cref="T:System.Threading.Tasks.Task"/> in the |
| 186 |
<see cref="T:System.Threading.Tasks.TaskStatus">RanToCompletion</see> state. |
| 187 |
</summary> |
| 188 |
<exception cref="T:System.InvalidOperationException">The builder is not initialized.</exception> |
| 189 |
<exception cref="T:System.InvalidOperationException">The task has already completed.</exception> |
| 190 |
</member> |
| 191 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetException(System.Exception)"> |
| 192 |
<summary> |
| 193 |
Completes the <see cref="T:System.Threading.Tasks.Task"/> in the |
| 194 |
<see cref="T:System.Threading.Tasks.TaskStatus">Faulted</see> state with the specified exception. |
| 195 |
</summary> |
| 196 |
<param name="exception">The <see cref="T:System.Exception"/> to use to fault the task.</param> |
| 197 |
<exception cref="T:System.ArgumentNullException">The <paramref name="exception"/> argument is null (Nothing in Visual Basic).</exception> |
| 198 |
<exception cref="T:System.InvalidOperationException">The builder is not initialized.</exception> |
| 199 |
<exception cref="T:System.InvalidOperationException">The task has already completed.</exception> |
| 200 |
</member> |
| 201 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetNotificationForWaitCompletion(System.Boolean)"> |
| 202 |
<summary> |
| 203 |
Called by the debugger to request notification when the first wait operation |
| 204 |
(await, Wait, Result, etc.) on this builder's task completes. |
| 205 |
</summary> |
| 206 |
<param name="enabled"> |
| 207 |
true to enable notification; false to disable a previously set notification. |
| 208 |
</param> |
| 209 |
</member> |
| 210 |
<member name="P:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Task"> |
| 211 |
<summary>Gets the <see cref="T:System.Threading.Tasks.Task"/> for this builder.</summary> |
| 212 |
<returns>The <see cref="T:System.Threading.Tasks.Task"/> representing the builder's asynchronous operation.</returns> |
| 213 |
<exception cref="T:System.InvalidOperationException">The builder is not initialized.</exception> |
| 214 |
</member> |
| 215 |
<member name="P:System.Runtime.CompilerServices.AsyncTaskMethodBuilder.ObjectIdForDebugger"> |
| 216 |
<summary> |
| 217 |
Gets an object that may be used to uniquely identify this builder to the debugger. |
| 218 |
</summary> |
| 219 |
<remarks> |
| 220 |
This property lazily instantiates the ID in a non-thread-safe manner. |
| 221 |
It must only be used by the debugger, and only in a single-threaded manner |
| 222 |
when no other threads are in the middle of accessing this property or this.Task. |
| 223 |
</remarks> |
| 224 |
</member> |
| 225 |
<member name="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1"> |
| 226 |
<summary> |
| 227 |
Provides a builder for asynchronous methods that return <see cref="T:System.Threading.Tasks.Task`1"/>. |
| 228 |
This type is intended for compiler use only. |
| 229 |
</summary> |
| 230 |
<remarks> |
| 231 |
AsyncTaskMethodBuilder{TResult} is a value type, and thus it is copied by value. |
| 232 |
Prior to being copied, one of its Task, SetResult, or SetException members must be accessed, |
| 233 |
or else the copies may end up building distinct Task instances. |
| 234 |
</remarks> |
| 235 |
</member> |
| 236 |
<member name="F:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.s_defaultResultTask"> |
| 237 |
<summary>A cached task for default(TResult).</summary> |
| 238 |
</member> |
| 239 |
<member name="F:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.m_coreState"> |
| 240 |
<summary>State related to the IAsyncStateMachine.</summary> |
| 241 |
</member> |
| 242 |
<member name="F:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.m_task"> |
| 243 |
<summary>The lazily-initialized task.</summary> |
| 244 |
<remarks>Must be named m_task for debugger step-over to work correctly.</remarks> |
| 245 |
</member> |
| 246 |
<member name="F:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.m_taskCompletionSource"> |
| 247 |
<summary>The lazily-initialized task completion source.</summary> |
| 248 |
</member> |
| 249 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.#cctor"> |
| 250 |
<summary>Temporary support for disabling crashing if tasks go unobserved.</summary> |
| 251 |
</member> |
| 252 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Create"> |
| 253 |
<summary>Initializes a new <see cref="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder"/>.</summary> |
| 254 |
<returns>The initialized <see cref="T:System.Runtime.CompilerServices.AsyncTaskMethodBuilder"/>.</returns> |
| 255 |
</member> |
| 256 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start``1(``0@)"> |
| 257 |
<summary>Initiates the builder's execution with the associated state machine.</summary> |
| 258 |
<typeparam name="TStateMachine">Specifies the type of the state machine.</typeparam> |
| 259 |
<param name="stateMachine">The state machine instance, passed by reference.</param> |
| 260 |
</member> |
| 261 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)"> |
| 262 |
<summary>Associates the builder with the state machine it represents.</summary> |
| 263 |
<param name="stateMachine">The heap-allocated state machine object.</param> |
| 264 |
<exception cref="T:System.ArgumentNullException">The <paramref name="stateMachine"/> argument was null (Nothing in Visual Basic).</exception> |
| 265 |
<exception cref="T:System.InvalidOperationException">The builder is incorrectly initialized.</exception> |
| 266 |
</member> |
| 267 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.System#Runtime#CompilerServices#IAsyncMethodBuilder#PreBoxInitialization"> |
| 268 |
<summary>Perform any initialization necessary prior to lifting the builder to the heap.</summary> |
| 269 |
</member> |
| 270 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AwaitOnCompleted``2(``0@,``1@)"> |
| 271 |
<summary> |
| 272 |
Schedules the specified state machine to be pushed forward when the specified awaiter completes. |
| 273 |
</summary> |
| 274 |
<typeparam name="TAwaiter">Specifies the type of the awaiter.</typeparam> |
| 275 |
<typeparam name="TStateMachine">Specifies the type of the state machine.</typeparam> |
| 276 |
<param name="awaiter">The awaiter.</param> |
| 277 |
<param name="stateMachine">The state machine.</param> |
| 278 |
</member> |
| 279 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AwaitUnsafeOnCompleted``2(``0@,``1@)"> |
| 280 |
<summary> |
| 281 |
Schedules the specified state machine to be pushed forward when the specified awaiter completes. |
| 282 |
</summary> |
| 283 |
<typeparam name="TAwaiter">Specifies the type of the awaiter.</typeparam> |
| 284 |
<typeparam name="TStateMachine">Specifies the type of the state machine.</typeparam> |
| 285 |
<param name="awaiter">The awaiter.</param> |
| 286 |
<param name="stateMachine">The state machine.</param> |
| 287 |
</member> |
| 288 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetResult(`0)"> |
| 289 |
<summary> |
| 290 |
Completes the <see cref="T:System.Threading.Tasks.Task`1"/> in the |
| 291 |
<see cref="T:System.Threading.Tasks.TaskStatus">RanToCompletion</see> state with the specified result. |
| 292 |
</summary> |
| 293 |
<param name="result">The result to use to complete the task.</param> |
| 294 |
<exception cref="T:System.InvalidOperationException">The task has already completed.</exception> |
| 295 |
</member> |
| 296 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetResult(System.Threading.Tasks.TaskCompletionSource{`0})"> |
| 297 |
<summary> |
| 298 |
Completes the builder by using either the supplied completed task, or by completing |
| 299 |
the builder's previously accessed task using default(TResult). |
| 300 |
</summary> |
| 301 |
<param name="completedTask">A task already completed with the value default(TResult).</param> |
| 302 |
<exception cref="T:System.InvalidOperationException">The task has already completed.</exception> |
| 303 |
</member> |
| 304 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetException(System.Exception)"> |
| 305 |
<summary> |
| 306 |
Completes the <see cref="T:System.Threading.Tasks.Task`1"/> in the |
| 307 |
<see cref="T:System.Threading.Tasks.TaskStatus">Faulted</see> state with the specified exception. |
| 308 |
</summary> |
| 309 |
<param name="exception">The <see cref="T:System.Exception"/> to use to fault the task.</param> |
| 310 |
<exception cref="T:System.ArgumentNullException">The <paramref name="exception"/> argument is null (Nothing in Visual Basic).</exception> |
| 311 |
<exception cref="T:System.InvalidOperationException">The task has already completed.</exception> |
| 312 |
</member> |
| 313 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetNotificationForWaitCompletion(System.Boolean)"> |
| 314 |
<summary> |
| 315 |
Called by the debugger to request notification when the first wait operation |
| 316 |
(await, Wait, Result, etc.) on this builder's task completes. |
| 317 |
</summary> |
| 318 |
<param name="enabled"> |
| 319 |
true to enable notification; false to disable a previously set notification. |
| 320 |
</param> |
| 321 |
<remarks> |
| 322 |
This should only be invoked from within an asynchronous method, |
| 323 |
and only by the debugger. |
| 324 |
</remarks> |
| 325 |
</member> |
| 326 |
<member name="M:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.GetTaskForResult(`0)"> |
| 327 |
<summary> |
| 328 |
Gets a task for the specified result. This will either |
| 329 |
be a cached or new task, never null. |
| 330 |
</summary> |
| 331 |
<param name="result">The result for which we need a task.</param> |
| 332 |
<returns>The completed task containing the result.</returns> |
| 333 |
</member> |
| 334 |
<member name="P:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.CompletionSource"> |
| 335 |
<summary>Gets the lazily-initialized TaskCompletionSource.</summary> |
| 336 |
</member> |
| 337 |
<member name="P:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Task"> |
| 338 |
<summary>Gets the <see cref="T:System.Threading.Tasks.Task`1"/> for this builder.</summary> |
| 339 |
<returns>The <see cref="T:System.Threading.Tasks.Task`1"/> representing the builder's asynchronous operation.</returns> |
| 340 |
</member> |
| 341 |
<member name="P:System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.ObjectIdForDebugger"> |
| 342 |
<summary> |
| 343 |
Gets an object that may be used to uniquely identify this builder to the debugger. |
| 344 |
</summary> |
| 345 |
<remarks> |
| 346 |
This property lazily instantiates the ID in a non-thread-safe manner. |
| 347 |
It must only be used by the debugger, and only in a single-threaded manner |
| 348 |
when no other threads are in the middle of accessing this property or this.Task. |
| 349 |
</remarks> |
| 350 |
</member> |
| 351 |
<member name="T:System.Runtime.CompilerServices.AsyncVoidMethodBuilder"> |
| 352 |
<summary> |
| 353 |
Provides a builder for asynchronous methods that return void. |
| 354 |
This type is intended for compiler use only. |
| 355 |
</summary> |
| 356 |
</member> |
| 357 |
<member name="F:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.m_synchronizationContext"> |
| 358 |
<summary>The synchronization context associated with this operation.</summary> |
| 359 |
</member> |
| 360 |
<member name="F:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.m_coreState"> |
| 361 |
<summary>State related to the IAsyncStateMachine.</summary> |
| 362 |
</member> |
| 363 |
<member name="F:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.m_objectIdForDebugger"> |
| 364 |
<summary>An object used by the debugger to uniquely identify this builder. Lazily initialized.</summary> |
| 365 |
</member> |
| 366 |
<member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.#cctor"> |
| 367 |
<summary>Temporary support for disabling crashing if tasks go unobserved.</summary> |
| 368 |
</member> |
| 369 |
<member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.PreventUnobservedTaskExceptions"> |
| 370 |
<summary>Registers with UnobservedTaskException to suppress exception crashing.</summary> |
| 371 |
</member> |
| 372 |
<member name="F:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.s_preventUnobservedTaskExceptionsInvoked"> |
| 373 |
<summary>Non-zero if PreventUnobservedTaskExceptions has already been invoked.</summary> |
| 374 |
</member> |
| 375 |
<member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Create"> |
| 376 |
<summary>Initializes a new <see cref="T:System.Runtime.CompilerServices.AsyncVoidMethodBuilder"/>.</summary> |
| 377 |
<returns>The initialized <see cref="T:System.Runtime.CompilerServices.AsyncVoidMethodBuilder"/>.</returns> |
| 378 |
</member> |
| 379 |
<member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.#ctor(System.Threading.SynchronizationContext)"> |
| 380 |
<summary>Initializes the <see cref="T:System.Runtime.CompilerServices.AsyncVoidMethodBuilder"/>.</summary> |
| 381 |
<param name="synchronizationContext">The synchronizationContext associated with this operation. This may be null.</param> |
| 382 |
</member> |
| 383 |
<member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start``1(``0@)"> |
| 384 |
<summary>Initiates the builder's execution with the associated state machine.</summary> |
| 385 |
<typeparam name="TStateMachine">Specifies the type of the state machine.</typeparam> |
| 386 |
<param name="stateMachine">The state machine instance, passed by reference.</param> |
| 387 |
<exception cref="T:System.ArgumentNullException">The <paramref name="stateMachine"/> argument was null (Nothing in Visual Basic).</exception> |
| 388 |
</member> |
| 389 |
<member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)"> |
| 390 |
<summary>Associates the builder with the state machine it represents.</summary> |
| 391 |
<param name="stateMachine">The heap-allocated state machine object.</param> |
| 392 |
<exception cref="T:System.ArgumentNullException">The <paramref name="stateMachine"/> argument was null (Nothing in Visual Basic).</exception> |
| 393 |
<exception cref="T:System.InvalidOperationException">The builder is incorrectly initialized.</exception> |
| 394 |
</member> |
| 395 |
<member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.System#Runtime#CompilerServices#IAsyncMethodBuilder#PreBoxInitialization"> |
| 396 |
<summary>Perform any initialization necessary prior to lifting the builder to the heap.</summary> |
| 397 |
</member> |
| 398 |
<member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.AwaitOnCompleted``2(``0@,``1@)"> |
| 399 |
<summary> |
| 400 |
Schedules the specified state machine to be pushed forward when the specified awaiter completes. |
| 401 |
</summary> |
| 402 |
<typeparam name="TAwaiter">Specifies the type of the awaiter.</typeparam> |
| 403 |
<typeparam name="TStateMachine">Specifies the type of the state machine.</typeparam> |
| 404 |
<param name="awaiter">The awaiter.</param> |
| 405 |
<param name="stateMachine">The state machine.</param> |
| 406 |
</member> |
| 407 |
<member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.AwaitUnsafeOnCompleted``2(``0@,``1@)"> |
| 408 |
<summary> |
| 409 |
Schedules the specified state machine to be pushed forward when the specified awaiter completes. |
| 410 |
</summary> |
| 411 |
<typeparam name="TAwaiter">Specifies the type of the awaiter.</typeparam> |
| 412 |
<typeparam name="TStateMachine">Specifies the type of the state machine.</typeparam> |
| 413 |
<param name="awaiter">The awaiter.</param> |
| 414 |
<param name="stateMachine">The state machine.</param> |
| 415 |
</member> |
| 416 |
<member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.SetResult"> |
| 417 |
<summary>Completes the method builder successfully.</summary> |
| 418 |
</member> |
| 419 |
<member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.SetException(System.Exception)"> |
| 420 |
<summary>Faults the method builder with an exception.</summary> |
| 421 |
<param name="exception">The exception that is the cause of this fault.</param> |
| 422 |
<exception cref="T:System.ArgumentNullException">The <paramref name="exception"/> argument is null (Nothing in Visual Basic).</exception> |
| 423 |
<exception cref="T:System.InvalidOperationException">The builder is not initialized.</exception> |
| 424 |
</member> |
| 425 |
<member name="M:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.NotifySynchronizationContextOfCompletion"> |
| 426 |
<summary>Notifies the current synchronization context that the operation completed.</summary> |
| 427 |
</member> |
| 428 |
<member name="P:System.Runtime.CompilerServices.AsyncVoidMethodBuilder.ObjectIdForDebugger"> |
| 429 |
<summary> |
| 430 |
Gets an object that may be used to uniquely identify this builder to the debugger. |
| 431 |
</summary> |
| 432 |
<remarks> |
| 433 |
This property lazily instantiates the ID in a non-thread-safe manner. |
| 434 |
It must only be used by the debugger and only in a single-threaded manner. |
| 435 |
</remarks> |
| 436 |
</member> |
| 437 |
<member name="T:System.Runtime.CompilerServices.IAsyncStateMachine"> |
| 438 |
<summary> |
| 439 |
Represents state machines generated for asynchronous methods. |
| 440 |
This type is intended for compiler use only. |
| 441 |
</summary> |
| 442 |
</member> |
| 443 |
<member name="M:System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext"> |
| 444 |
<summary>Moves the state machine to its next state.</summary> |
| 445 |
</member> |
| 446 |
<member name="M:System.Runtime.CompilerServices.IAsyncStateMachine.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)"> |
| 447 |
<summary>Configures the state machine with a heap-allocated replica.</summary> |
| 448 |
<param name="stateMachine">The heap-allocated replica.</param> |
| 449 |
</member> |
| 450 |
<member name="T:System.Runtime.CompilerServices.ICriticalNotifyCompletion"> |
| 451 |
<summary> |
| 452 |
Represents an awaiter used to schedule continuations when an await operation completes. |
| 453 |
</summary> |
| 454 |
</member> |
| 455 |
<member name="T:System.Runtime.CompilerServices.INotifyCompletion"> |
| 456 |
<summary> |
| 457 |
Represents an operation that will schedule continuations when the operation completes. |
| 458 |
</summary> |
| 459 |
</member> |
| 460 |
<member name="M:System.Runtime.CompilerServices.INotifyCompletion.OnCompleted(System.Action)"> |
| 461 |
<summary>Schedules the continuation action to be invoked when the instance completes.</summary> |
| 462 |
<param name="continuation">The action to invoke when the operation completes.</param> |
| 463 |
<exception cref="T:System.ArgumentNullException">The <paramref name="continuation"/> argument is null (Nothing in Visual Basic).</exception> |
| 464 |
</member> |
| 465 |
<member name="M:System.Runtime.CompilerServices.ICriticalNotifyCompletion.UnsafeOnCompleted(System.Action)"> |
| 466 |
<summary>Schedules the continuation action to be invoked when the instance completes.</summary> |
| 467 |
<param name="continuation">The action to invoke when the operation completes.</param> |
| 468 |
<exception cref="T:System.ArgumentNullException">The <paramref name="continuation"/> argument is null (Nothing in Visual Basic).</exception> |
| 469 |
<remarks>Unlike OnCompleted, UnsafeOnCompleted need not propagate ExecutionContext information.</remarks> |
| 470 |
</member> |
| 471 |
<member name="T:System.Runtime.CompilerServices.VoidTaskResult"> |
| 472 |
<summary>Used with Task(of void)</summary> |
| 473 |
</member> |
| 474 |
</members> |
| 475 |
</doc> |