diff --git a/xml/System.Runtime.InteropServices/SafeHandle.xml b/xml/System.Runtime.InteropServices/SafeHandle.xml index 43f337bd301..a89a27c1af0 100644 --- a/xml/System.Runtime.InteropServices/SafeHandle.xml +++ b/xml/System.Runtime.InteropServices/SafeHandle.xml @@ -101,7 +101,7 @@ Optionally specify `-Fault` to intentionally attempt to leak the handle by abort ]]> - To create a class derived from , you must know how to create and free an operating system handle. This process is different for different handle types because some use the [CloseHandle](/windows/win32/api/handleapi/nf-handleapi-closehandle) function, while others use more specific functions such as [UnmapViewOfFile](/windows/win32/api/memoryapi/nf-memoryapi-unmapviewoffile) or [FindClose](/windows/win32/api/fileapi/nf-fileapi-findclose). For this reason, you must create a derived class of for each operating system handle type that you want to wrap in a safe handle. + To create a class derived from , you must know how to create and free an operating system handle. This process is different for different handle types because some use the CloseHandle function, while others use more specific functions such as UnmapViewOfFile or FindClose. For this reason, you must create a derived class of for each operating system handle type that you want to wrap in a safe handle. When you inherit from , you must override the following members: and . You should also provide a public parameterless constructor that calls the base constructor with a value that represents an invalid handle value, and a value indicating whether the native handle is owned by the and consequently should be freed when that has been disposed.