2015-04-07 09:35:12 +01:00
|
|
|
// ==++==
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//
|
|
|
|
// ==--==
|
|
|
|
//
|
2016-02-22 11:00:01 -05:00
|
|
|
// <OWNER>ericeil</OWNER>
|
2015-04-07 09:35:12 +01:00
|
|
|
/*=============================================================================
|
|
|
|
**
|
|
|
|
** Class: ApartmentState
|
|
|
|
**
|
|
|
|
**
|
|
|
|
** Purpose: Enum to represent the different threading models
|
|
|
|
**
|
|
|
|
**
|
|
|
|
=============================================================================*/
|
|
|
|
|
|
|
|
namespace System.Threading {
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
[System.Runtime.InteropServices.ComVisible(true)]
|
|
|
|
public enum ApartmentState
|
|
|
|
{
|
|
|
|
/*=========================================================================
|
|
|
|
** Constants for thread apartment states.
|
|
|
|
=========================================================================*/
|
|
|
|
STA = 0,
|
|
|
|
MTA = 1,
|
|
|
|
Unknown = 2
|
|
|
|
}
|
|
|
|
}
|