Frees the unmanaged memory associated with a native overlapped structure allocated by the Pack method.
This API is not CLS-compliant.
public static unsafe void Free(
A pointer to the NativeOverlapped structure to be freed.
nativeOverlappedPtr is null.
You must call the Free method exactly once on every NativeOverlapped pointer you receive from the Pack method. If you don't call the Free method, you will leak memory. If you call the Free method more than once, memory will be corrupted.
Requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Overlapped ClassSystem.Threading Namespace