3 // Copyright (c) Microsoft Corporation. All rights reserved.
7 // <OWNER>[....]</OWNER>
8 namespace System.Threading
11 using System.Runtime.Serialization;
12 using System.Runtime.InteropServices;
15 [ComVisibleAttribute(false)]
18 public class WaitHandleCannotBeOpenedException : Exception {
20 public class WaitHandleCannotBeOpenedException : ApplicationException {
21 #endif // FEATURE_CORECLR
22 public WaitHandleCannotBeOpenedException() : base(Environment.GetResourceString("Threading.WaitHandleCannotBeOpenedException"))
24 SetErrorCode(__HResults.COR_E_WAITHANDLECANNOTBEOPENED);
27 public WaitHandleCannotBeOpenedException(String message) : base(message)
29 SetErrorCode(__HResults.COR_E_WAITHANDLECANNOTBEOPENED);
32 public WaitHandleCannotBeOpenedException(String message, Exception innerException) : base(message, innerException)
34 SetErrorCode(__HResults.COR_E_WAITHANDLECANNOTBEOPENED);
37 protected WaitHandleCannotBeOpenedException(SerializationInfo info, StreamingContext context) : base (info, context)