Skip to content

Commit f70b152

Browse files
committed
System.Threading docs
1 parent 68b851e commit f70b152

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

xml/System.Threading.Channels/BoundedChannelOptions.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
<param name="capacity">The maximum number of items the bounded channel may store.</param>
5353
<summary>Initializes the options.</summary>
5454
<remarks>To be added.</remarks>
55+
<exception cref="T:System.ArgumentOutOfRangeException">
56+
<paramref name="capacity" /> is negative.</exception>
5557
</Docs>
5658
</Member>
5759
<Member MemberName="Capacity">
@@ -80,6 +82,8 @@
8082
<summary>Gets or sets the maximum number of items the bounded channel may store.</summary>
8183
<value>To be added.</value>
8284
<remarks>To be added.</remarks>
85+
<exception cref="T:System.ArgumentOutOfRangeException">
86+
<paramref name="value" /> is negative.</exception>
8387
</Docs>
8488
</Member>
8589
<Member MemberName="FullMode">
@@ -108,6 +112,8 @@
108112
<summary>Gets or sets the behavior incurred by write operations when the channel is full.</summary>
109113
<value>To be added.</value>
110114
<remarks>To be added.</remarks>
115+
<exception cref="T:System.ArgumentOutOfRangeException">
116+
<paramref name="value" /> is an invalid enum value.</exception>
111117
</Docs>
112118
</Member>
113119
</Members>

xml/System.Threading.Channels/Channel.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575
<remarks>Channels created with this method apply the <see cref="F:System.Threading.Channels.BoundedChannelFullMode.Wait" />
7676
behavior and prohibit continuations from running synchronously.
7777
</remarks>
78+
<exception cref="T:System.ArgumentOutOfRangeException">
79+
<paramref name="capacity" /> is negative.</exception>
7880
</Docs>
7981
</Member>
8082
<Member MemberName="CreateBounded&lt;T&gt;">
@@ -118,6 +120,8 @@
118120
<summary>Creates a channel with the specified maximum capacity.</summary>
119121
<returns>The created channel.</returns>
120122
<remarks>To be added.</remarks>
123+
<exception cref="T:System.ArgumentNullException">
124+
<paramref name="options" /> is <see langword="null" />.</exception>
121125
</Docs>
122126
</Member>
123127
<Member MemberName="CreateBounded&lt;T&gt;">
@@ -167,6 +171,8 @@
167171
<summary>Creates a channel subject to the provided options.</summary>
168172
<returns>The created channel.</returns>
169173
<remarks>To be added.</remarks>
174+
<exception cref="T:System.ArgumentNullException">
175+
<paramref name="options" /> is <see langword="null" />.</exception>
170176
</Docs>
171177
</Member>
172178
<Member MemberName="CreateUnbounded&lt;T&gt;">
@@ -250,6 +256,8 @@
250256
<summary>Creates an unbounded channel subject to the provided options.</summary>
251257
<returns>The created channel.</returns>
252258
<remarks>To be added.</remarks>
259+
<exception cref="T:System.ArgumentNullException">
260+
<paramref name="options" /> is <see langword="null" />.</exception>
253261
</Docs>
254262
</Member>
255263
<Member MemberName="CreateUnboundedPrioritized&lt;T&gt;">

xml/System.Threading/ThreadLocal`1.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@
639639
<altmember cref="T:System.Lazy`1" />
640640
<related type="Article" href="/dotnet/framework/performance/lazy-initialization">Lazy Initialization</related>
641641
<related type="Article" href="/dotnet/framework/performance/how-to-perform-lazy-initialization-of-objects">How to: Perform Lazy Initialization of Objects</related>
642+
<exception cref="T:System.MissingMemberException">No parameterless constructor is provided and no value factory is supplied.</exception>
642643
</Docs>
643644
</Member>
644645
<Member MemberName="Values">

0 commit comments

Comments
 (0)