3 // Copyright (c) Microsoft Corporation. All rights reserved.
7 // <OWNER>Microsoft</OWNER>
9 namespace System.Threading
12 using System.Runtime.Serialization;
13 using System.Runtime.InteropServices;
16 public sealed class ThreadStartException : SystemException
18 private ThreadStartException()
19 : base(Environment.GetResourceString("Arg_ThreadStartException"))
21 SetErrorCode(__HResults.COR_E_THREADSTART);
24 private ThreadStartException(Exception reason)
25 : base(Environment.GetResourceString("Arg_ThreadStartException"), reason)
27 SetErrorCode(__HResults.COR_E_THREADSTART);
30 //required for serialization
31 internal ThreadStartException(SerializationInfo info, StreamingContext context)