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/Microsoft.Win32.SafeHandles/SafeWaitHandle.xml
+21-21Lines changed: 21 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -65,22 +65,22 @@
65
65
<Docs>
66
66
<summary>Represents a wrapper class for a wait handle.</summary>
67
67
<remarks>
68
-
<formattype="text/markdown"><![CDATA[
69
-
70
-
## Remarks
71
-
The <xref:Microsoft.Win32.SafeHandles.SafeWaitHandle> class is used by the <xref:System.Threading.WaitHandle?displayProperty=nameWithType> class. It is a wrapper for Win32 mutexes and auto and manual reset events.
72
-
68
+
<formattype="text/markdown"><![CDATA[
69
+
70
+
## Remarks
71
+
72
+
The <xref:Microsoft.Win32.SafeHandles.SafeWaitHandle> class is used by the <xref:System.Threading.WaitHandle?displayProperty=nameWithType> class. It is a wrapper for Win32 mutexes and auto and manual reset events.
73
+
73
74
> [!IMPORTANT]
74
-
> This type implements the <xref:System.IDisposable> interface. When you have finished using the type, you should dispose of it either directly or indirectly. To dispose of the type directly, call its <xref:System.IDisposable.Dispose%2A> method in a `try`/`catch` block. To dispose of it indirectly, use a language construct such as `using` (in C#) or `Using` (in Visual Basic). For more information, see the "Using an Object that Implements IDisposable" section in the <xref:System.IDisposable> interface topic.
75
-
76
-
77
-
78
-
## Examples
79
-
The following code example demonstrates how to use interop to create a mutex using the <xref:Microsoft.Win32.SafeHandles.SafeWaitHandle> class and the unmanaged `CreateMutex` function.
80
-
75
+
> This type implements the <xref:System.IDisposable> interface. When you have finished using the type, you should dispose of it either directly or indirectly. To dispose of the type directly, call its <xref:System.IDisposable.Dispose%2A> method in a `try`/`catch` block. To dispose of it indirectly, use a language construct such as `using` (in C#) or `Using` (in Visual Basic).
76
+
77
+
## Examples
78
+
79
+
The following code example demonstrates how to use interop to create a mutex using the <xref:Microsoft.Win32.SafeHandles.SafeWaitHandle> class and the unmanaged `CreateMutex` function.
<seelangword="true" /> to reliably release the handle during the finalization phase; <seelangword="false" /> to prevent reliable release (not recommended).</param>
170
170
<summary>Initializes a new instance of the <seecref="T:Microsoft.Win32.SafeHandles.SafeWaitHandle" /> class.</summary>
171
171
<remarks>
172
-
<formattype="text/markdown"><![CDATA[
173
-
174
-
## Examples
175
-
The following code example demonstrates how to use interop to create a mutex using the <xref:Microsoft.Win32.SafeHandles.SafeWaitHandle> class and the unmanaged `CreateMutex` function.
176
-
172
+
<formattype="text/markdown"><![CDATA[
173
+
174
+
## Examples
175
+
The following code example demonstrates how to use interop to create a mutex using the <xref:Microsoft.Win32.SafeHandles.SafeWaitHandle> class and the unmanaged `CreateMutex` function.
0 commit comments