Beispiel #1
0
 protected override bool ReleaseHandle()
 {
     return(ListenerUnsafeNativeMethods.CloseServiceHandle(base.handle));
 }
Beispiel #2
0
        override protected bool ReleaseHandle()
        {
#pragma warning suppress 56523 // Microsoft, should only fail if there is a
            return(ListenerUnsafeNativeMethods.CloseServiceHandle(handle));
        }
        override protected bool ReleaseHandle()
        {
#pragma warning suppress 56523 // [....], should only fail if there is a bug (invalid handle); MDA will be raised
            return(ListenerUnsafeNativeMethods.CloseServiceHandle(handle));
        }