You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Threading/AutoResetEvent.xml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@
65
65
66
66
## Remarks
67
67
68
-
You use `AutoResetEvent`, <xref:System.Threading.ManualResetEvent>, and <xref:System.Threading.EventWaitHandle> for thread interaction (or thread signaling). For more information, see [Thread interaction](/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives#thread-interaction-or-signaling).
68
+
You use `AutoResetEvent`, <xref:System.Threading.ManualResetEvent>, and <xref:System.Threading.EventWaitHandle> for thread interaction (or thread signaling). For more information, see [Thread interaction](/dotnet/standard/threading/overview-of-synchronization-primitives#thread-interaction-or-signaling).
69
69
70
70
A thread waits for a signal by calling [AutoResetEvent.WaitOne](xref:System.Threading.WaitHandle.WaitOne%2A). If the `AutoResetEvent` is in the non-signaled state, the thread blocks until [AutoResetEvent.Set](xref:System.Threading.EventWaitHandle.Set%2A) is called. Calling `Set` signals `AutoResetEvent` to release a waiting thread. `AutoResetEvent` remains signaled until `Reset` is called or a single waiting thread is released, at which time it automatically returns to the non-signaled state.
71
71
@@ -100,7 +100,7 @@ After the threads are released from the first <xref:System.Threading.AutoResetEv
100
100
<threadsafe>This class is thread safe.</threadsafe>
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
103
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
104
104
</Docs>
105
105
<Members>
106
106
<MemberMemberName=".ctor">
@@ -170,7 +170,7 @@ After the threads are released from the first <xref:System.Threading.AutoResetEv
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
173
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
Copy file name to clipboardExpand all lines: xml/System.Threading/EventWaitHandle.xml
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ The <xref:System.Threading.EventWaitHandle> class allows threads to communicate
75
75
76
76
<xref:System.Threading.EventWaitHandle> objects can be used with the `static`(`Shared` in Visual Basic) <xref:System.Threading.WaitHandle.WaitAll*?displayProperty=nameWithType> and <xref:System.Threading.WaitHandle.WaitAny*?displayProperty=nameWithType> methods.
77
77
78
-
For more information, see the [Thread interaction, or signaling](/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives#thread-interaction-or-signaling) section of the [Overview of synchronization primitives](/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives) article.
78
+
For more information, see the [Thread interaction, or signaling](/dotnet/standard/threading/overview-of-synchronization-primitives#thread-interaction-or-signaling) section of the [Overview of synchronization primitives](/dotnet/standard/threading/overview-of-synchronization-primitives) article.
79
79
80
80
> [!CAUTION]
81
81
> By default, a named event is not restricted to the user that created it. Other users might be able to open and use the event, including interfering with the event by setting or resetting it inappropriately. To restrict access to specific users, you can use a constructor overload or <xref:System.Threading.EventWaitHandleAcl> and pass in an <xref:System.Security.AccessControl.EventWaitHandleSecurity> when creating the named event. Avoid using named events without access restrictions on systems that might have untrusted users running code.
@@ -95,7 +95,7 @@ The <xref:System.Threading.EventWaitHandle> class allows threads to communicate
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
98
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
99
99
</Docs>
100
100
<Members>
101
101
<MemberGroupMemberName=".ctor">
@@ -175,7 +175,7 @@ The <xref:System.Threading.EventWaitHandle> class allows threads to communicate
175
175
]]></format>
176
176
</remarks>
177
177
<exceptioncref="T:System.ArgumentException">The <paramrefname="mode" /> enum value was out of legal range.</exception>
178
-
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
178
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
179
179
</Docs>
180
180
</Member>
181
181
<MemberMemberName=".ctor">
@@ -266,7 +266,7 @@ There was some other error. The `HResult` property might provide more informatio
266
266
-or-
267
267
268
268
.NET Framework only: <paramrefname="name" /> is longer than MAX_PATH (260 characters).</exception>
269
-
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
269
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
270
270
</Docs>
271
271
</Member>
272
272
<MemberMemberName=".ctor">
@@ -356,7 +356,7 @@ There was some other error. The `HResult` property might provide more informatio
356
356
-or-
357
357
358
358
.NET Framework only: <paramrefname="name" /> is longer than MAX_PATH (260 characters).</exception>
359
-
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
359
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
360
360
</Docs>
361
361
</Member>
362
362
<MemberMemberName=".ctor">
@@ -425,7 +425,7 @@ There was some other error. The `HResult` property might provide more informatio
425
425
An object with the specified <paramrefname="name" /> exists, but the specified <paramrefname="options" /> are not compatible with the existing object's options.</exception>
426
426
<exceptioncref="T:System.ArgumentException">
427
427
The <paramrefname="mode" /> enum value was out of legal range.</exception>
428
-
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
428
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
429
429
</Docs>
430
430
</Member>
431
431
<MemberMemberName=".ctor">
@@ -522,7 +522,7 @@ There was some other error. The `HResult` property might provide more informatio
522
522
-or-
523
523
524
524
.NET Framework only: <paramrefname="name" /> is longer than MAX_PATH (260 characters).</exception>
525
-
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
525
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
526
526
</Docs>
527
527
</Member>
528
528
<MemberMemberName=".ctor">
@@ -591,7 +591,7 @@ There was some other error. The `HResult` property might provide more informatio
591
591
An object with the specified <paramrefname="name" /> exists, but the specified <paramrefname="options" /> are not compatible with the existing object's options.</exception>
592
592
<exceptioncref="T:System.ArgumentException">
593
593
The <paramrefname="mode" /> enum value was out of legal range.</exception>
594
-
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
594
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
595
595
</Docs>
596
596
</Member>
597
597
<MemberMemberName="GetAccessControl">
@@ -655,7 +655,7 @@ An object with the specified <paramref name="name" /> exists, but the specified
655
655
656
656
The current <seecref="T:System.Threading.EventWaitHandle" /> object represents a named system event, and was not opened with <seecref="F:System.Security.AccessControl.EventWaitHandleRights.ReadPermissions" />.</exception>
657
657
<exceptioncref="T:System.ObjectDisposedException">The <seecref="M:System.Threading.WaitHandle.Close" /> method was previously called on this <seecref="T:System.Threading.EventWaitHandle" />.</exception>
658
-
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
658
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
659
659
</Docs>
660
660
</Member>
661
661
<MemberGroupMemberName="OpenExisting">
@@ -759,7 +759,7 @@ There was some other error. The `HResult` property might provide more informatio
759
759
<exceptioncref="T:System.IO.DirectoryNotFoundException">Windows only: <paramrefname="name" /> specified an unknown namespace. See <seehref="/windows/win32/sync/object-names">Object Names</see> for more information.</exception>
760
760
<exceptioncref="T:System.IO.PathTooLongException">The <paramrefname="name" /> is too long. Length restrictions might depend on the operating system or configuration.</exception>
761
761
<exceptioncref="T:System.UnauthorizedAccessException">The named event exists, but the user does not have the security access required to use it.</exception>
762
-
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
762
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
763
763
</Docs>
764
764
</Member>
765
765
<MemberMemberName="OpenExisting">
@@ -845,7 +845,7 @@ There was some other error. The `HResult` property might provide more informatio
845
845
<exceptioncref="T:System.IO.DirectoryNotFoundException">Windows only: <paramrefname="name" /> specified an unknown namespace. See <seehref="https://learn.microsoft.com/windows/win32/sync/object-names">Object Names</see> for more information.</exception>
846
846
<exceptioncref="T:System.IO.PathTooLongException">The <paramrefname="name" /> is too long. Length restrictions might depend on the operating system or configuration.</exception>
847
847
<exceptioncref="T:System.UnauthorizedAccessException">The named event exists, but the user does not have the desired security access.</exception>
848
-
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
848
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
849
849
</Docs>
850
850
</Member>
851
851
<MemberMemberName="OpenExisting">
@@ -914,7 +914,7 @@ There was some other error. The `HResult` property might provide more informatio
914
914
<exceptioncref="T:System.IO.DirectoryNotFoundException">Windows only: <paramrefname="name" /> specified an unknown namespace. See <seehref="/windows/win32/sync/object-names">Object Names</see> for more information.</exception>
915
915
<exceptioncref="T:System.IO.PathTooLongException">The <paramrefname="name" /> is too long. Length restrictions might depend on the operating system or configuration.</exception>
916
916
<exceptioncref="T:System.UnauthorizedAccessException">The named event exists, but the user does not have the security access required to use it.</exception>
917
-
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
917
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
918
918
</Docs>
919
919
</Member>
920
920
<MemberMemberName="Reset">
@@ -967,7 +967,7 @@ There was some other error. The `HResult` property might provide more informatio
967
967
<seelangword="true" /> if the operation succeeds; otherwise, <seelangword="false" />.</returns>
968
968
<remarks>To be added.</remarks>
969
969
<exceptioncref="T:System.ObjectDisposedException">The <seecref="M:System.Threading.WaitHandle.Close" /> method was previously called on this <seecref="T:System.Threading.EventWaitHandle" />.</exception>
970
-
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
970
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
971
971
</Docs>
972
972
</Member>
973
973
<MemberMemberName="Set">
@@ -1040,7 +1040,7 @@ There was some other error. The `HResult` property might provide more informatio
1040
1040
]]></format>
1041
1041
</remarks>
1042
1042
<exceptioncref="T:System.ObjectDisposedException">The <seecref="M:System.Threading.WaitHandle.Close" /> method was previously called on this <seecref="T:System.Threading.EventWaitHandle" />.</exception>
1043
-
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
1043
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
1044
1044
</Docs>
1045
1045
</Member>
1046
1046
<MemberMemberName="SetAccessControl">
@@ -1107,7 +1107,7 @@ There was some other error. The `HResult` property might provide more informatio
1107
1107
The event was not opened with <seecref="F:System.Security.AccessControl.EventWaitHandleRights.ChangePermissions" />.</exception>
1108
1108
<exceptioncref="T:System.SystemException">The current <seecref="T:System.Threading.EventWaitHandle" /> object does not represent a named system event.</exception>
1109
1109
<exceptioncref="T:System.ObjectDisposedException">The <seecref="M:System.Threading.WaitHandle.Close" /> method was previously called on this <seecref="T:System.Threading.EventWaitHandle" />.</exception>
1110
-
<relatedtype="Article"href="/dotnet/standard/threading/managed-threading-basicsoverview-of-synchronization-primitives">Overview of synchronization primitives</related>
1110
+
<relatedtype="Article"href="/dotnet/standard/threading/overview-of-synchronization-primitives">Overview of synchronization primitives</related>
0 commit comments