SafePipeHandle.NotSupported.cs 350 B

12345678910111213141516
  1. using System;
  2. using System.Runtime.InteropServices;
  3. using System.Security;
  4. namespace Microsoft.Win32.SafeHandles
  5. {
  6. public sealed partial class SafePipeHandle : SafeHandleZeroOrMinusOneIsInvalid
  7. {
  8. private const int DefaultInvalidHandle = -1;
  9. protected override bool ReleaseHandle()
  10. {
  11. throw new PlatformNotSupportedException();
  12. }
  13. }
  14. }