You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
39
external/referencesource/mscorlib/system/threading/threadstartexception.cs
vendored
Normal file
39
external/referencesource/mscorlib/system/threading/threadstartexception.cs
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
// ==++==
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// ==--==
|
||||
//
|
||||
// <OWNER>[....]</OWNER>
|
||||
|
||||
namespace System.Threading
|
||||
{
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[Serializable]
|
||||
public sealed class ThreadStartException : SystemException
|
||||
{
|
||||
private ThreadStartException()
|
||||
: base(Environment.GetResourceString("Arg_ThreadStartException"))
|
||||
{
|
||||
SetErrorCode(__HResults.COR_E_THREADSTART);
|
||||
}
|
||||
|
||||
private ThreadStartException(Exception reason)
|
||||
: base(Environment.GetResourceString("Arg_ThreadStartException"), reason)
|
||||
{
|
||||
SetErrorCode(__HResults.COR_E_THREADSTART);
|
||||
}
|
||||
|
||||
//required for serialization
|
||||
internal ThreadStartException(SerializationInfo info, StreamingContext context)
|
||||
: base(info, context)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user