2008-03-05 09:52:00 -05:00
|
|
|
// ==++==
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//
|
|
|
|
// ==--==
|
2008-11-17 18:29:00 -05:00
|
|
|
//=============================================================================
|
|
|
|
//
|
|
|
|
// Class: ThreadStateException
|
|
|
|
//
|
|
|
|
// Purpose: An exception class to indicate that the Thread class is in an
|
|
|
|
// invalid state for the method.
|
|
|
|
//
|
|
|
|
//=============================================================================
|
2008-03-05 09:52:00 -05:00
|
|
|
|
2008-11-17 18:29:00 -05:00
|
|
|
namespace System.Threading
|
|
|
|
{
|
2008-03-05 09:52:00 -05:00
|
|
|
using System;
|
|
|
|
|
|
|
|
//| <include path='docs/doc[@for="ThreadStateException"]/*' />
|
|
|
|
public class ThreadStateException : SystemException {
|
|
|
|
//| <include path='docs/doc[@for="ThreadStateException.ThreadStateException"]/*' />
|
|
|
|
public ThreadStateException()
|
|
|
|
: base("Arg_ThreadStateException") {
|
|
|
|
}
|
|
|
|
|
|
|
|
//| <include path='docs/doc[@for="ThreadStateException.ThreadStateException1"]/*' />
|
|
|
|
public ThreadStateException(String message)
|
|
|
|
: base(message) {
|
|
|
|
}
|
|
|
|
|
|
|
|
//| <include path='docs/doc[@for="ThreadStateException.ThreadStateException2"]/*' />
|
|
|
|
public ThreadStateException(String message, Exception innerException)
|
|
|
|
: base(message, innerException) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|