{"results":[{"title":"Threading support in Office - Visual Studio (Windows)","url":"https://learn.microsoft.com/en-us/visualstudio/vsto/threading-support-in-office","displayUrl":{"content":"/visualstudio/vsto/threading-support-in-office","hitHighlights":[]},"description":"Threading support in Office Summarize this article for me In this article This article provides information about how threading is supported in the Microsoft Office object model. The Office object model is not thread safe, but it is possible to work with multiple threads in an Office solution. For COM servers that are not thread safe, COM provides.","descriptions":[{"content":"Threading support in Office Summarize this article for me In this article This article provides information about how threading is supported in the Microsoft Office object model. The Office object model is not thread safe, but it is possible to work with multiple threads in an Office solution. For COM servers that are not thread safe, COM provides.","hitHighlights":[]}],"lastUpdatedDate":"2026-04-24T22:06:00+00:00","breadcrumbs":[],"category":"Documentation","products":["Office","Visual Studio","Windows"]},{"title":"Managed Library Threading Considerations - Win32 apps","url":"https://learn.microsoft.com/en-us/windows/win32/tablet/managed-library-threading-considerations","displayUrl":{"content":"/windows/win32/tablet/managed-library-threading-considerations","hitHighlights":[]},"description":"Managed Library Threading Considerations Summarize this article for me In this article The following Tablet PC threading considerations are specific to the Managed Library. The following collections are thread-safe at the member level; however, these collections do not guarantee that an enumerator is protected if another thread operates on the.","descriptions":[{"content":"Managed Library Threading Considerations Summarize this article for me In this article The following Tablet PC threading considerations are specific to the Managed Library. The following collections are thread-safe at the member level; however, these collections do not guarantee that an enumerator is protected if another thread operates on the.","hitHighlights":[]}],"lastUpdatedDate":"2025-03-11T21:41:00+00:00","breadcrumbs":[],"category":"Documentation","products":["Universal Windows Platform (UWP)","Windows","Windows Forms"]},{"title":"COM\u002B Threading Models - Win32 apps","url":"https://learn.microsoft.com/en-us/windows/win32/cossdk/com--threading-models","displayUrl":{"content":"/windows/win32/cossdk/com--threading-models","hitHighlights":[]},"description":"COM\u002B Threading Models Summarize this article for me In this article COM\u002B threading models are designed around an object collection called an apartment. Objects in a single-threaded apartment (STA) execute on the particular thread in which they were created. STAs allow only one method to execute at a time. They are designed for user interfaces and.","descriptions":[{"content":"COM\u002B Threading Models Summarize this article for me In this article COM\u002B threading models are designed around an object collection called an apartment. Objects in a single-threaded apartment (STA) execute on the particular thread in which they were created. STAs allow only one method to execute at a time. They are designed for user interfaces and.","hitHighlights":[{"start":164,"length":33},{"start":258,"length":5}]}],"lastUpdatedDate":"2025-03-11T23:50:00+00:00","breadcrumbs":[],"category":"Documentation","products":["Universal Windows Platform (UWP)","Windows"]},{"title":"Media Foundation and COM - Win32 apps","url":"https://learn.microsoft.com/en-us/windows/win32/medfound/media-foundation-and-com","displayUrl":{"content":"/windows/win32/medfound/media-foundation-and-com","hitHighlights":[]},"description":"Media Foundation and COM Summarize this article for me In this article Microsoft Media Foundation uses a mix of COM constructs, but is not a fully COM-based API. Media Foundation does not marshal single-threaded apartment (STA) objects to work queue threads. Therefore, an STA application must be careful to not pass STA objects or proxies to Media.","descriptions":[{"content":"Media Foundation and COM Summarize this article for me In this article Microsoft Media Foundation uses a mix of COM constructs, but is not a fully COM-based API. Media Foundation does not marshal single-threaded apartment (STA) objects to work queue threads. Therefore, an STA application must be careful to not pass STA objects or proxies to Media.","hitHighlights":[{"start":272,"length":5},{"start":316,"length":5}]}],"lastUpdatedDate":"2025-03-11T21:11:00+00:00","breadcrumbs":[],"category":"Documentation","products":["Azure Functions","Universal Windows Platform (UWP)","Windows"]},{"title":"Wicked Code: Running ASMX Web Services on STA Threads","url":"https://learn.microsoft.com/en-us/archive/msdn-magazine/2006/october/wicked-code-running-asmx-web-services-on-sta-threads","displayUrl":{"content":"/archive/msdn-magazine/2006/october/wicked-code-running-asmx-web-services-on-sta-threads","hitHighlights":[{"start":77,"length":3}]},"description":"Wicked Code Running ASMX Web Services on STA Threads Jeff Prosise Code download available at:WickedCode2006_10.exe(152 KB) Contents The Problem The Solution Conclusion Many of the gnarliest issues you read about in Wicked Code come from real problems experienced by real people trying to build software that works. Send your questions and comments.","descriptions":[{"content":"Wicked Code Running ASMX Web Services on STA Threads Jeff Prosise Code download available at:WickedCode2006_10.exe(152 KB) Contents The Problem The Solution Conclusion Many of the gnarliest issues you read about in Wicked Code come from real problems experienced by real people trying to build software that works. Send your questions and comments.","hitHighlights":[{"start":40,"length":5}]}],"lastUpdatedDate":"2022-01-21T03:47:00+00:00","breadcrumbs":[],"category":"Documentation","products":[]},{"title":"[MS-COMA]: Threading Model Property Formats","url":"https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-coma/7a7a3e6b-4401-4f96-9104-a75ffd1aa4c0","displayUrl":{"content":"/openspecs/windows_protocols/ms-coma/7a7a3e6b-4401-4f96-9104-a75ffd1aa4c0","hitHighlights":[]},"description":"An ORB that provides this feature divides all threads in a given process that will be used to host component instances into one of two categories: Single threaded apartment (STA) threads are primarily used to host component instances when the component expects that all calls to any given component instance will be executed on a single thread..","descriptions":[{"content":"An ORB that provides this feature divides all threads in a given process that will be used to host component instances into one of two categories: Single threaded apartment (STA) threads are primarily used to host component instances when the component expects that all calls to any given component instance will be executed on a single thread..","hitHighlights":[{"start":146,"length":41}]}],"lastUpdatedDate":"2024-04-23T17:55:00+00:00","breadcrumbs":[],"category":"Documentation","products":[]},{"title":"[MS-COMA]: ThreadingModelEnumerationProperty","url":"https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-coma/0c0c2e14-acd2-4d49-969d-5d1d3afa1b9a","displayUrl":{"content":"/openspecs/windows_protocols/ms-coma/0c0c2e14-acd2-4d49-969d-5d1d3afa1b9a","hitHighlights":[]},"description":"2.2.2.3.1 ThreadingModelEnumerationProperty Summarize this article for me In this article The ThreadingModelEnumerationProperty type represents how the hosting m... Value Meaning eTM_APARTMENT 0x00000000 Each component instance is to be STA-hosted. The STA thread used to host the component instance is to be selected as follows: If an instantiation.","descriptions":[{"content":"2.2.2.3.1 ThreadingModelEnumerationProperty Summarize this article for me In this article The ThreadingModelEnumerationProperty type represents how the hosting m... Value Meaning eTM_APARTMENT 0x00000000 Each component instance is to be STA-hosted. The STA thread used to host the component instance is to be selected as follows: If an instantiation.","hitHighlights":[{"start":236,"length":12},{"start":252,"length":12}]}],"lastUpdatedDate":"2024-04-23T17:55:00+00:00","breadcrumbs":[],"category":"Documentation","products":[]},{"title":"contextSwitchDeadlock MDA - .NET Framework","url":"https://learn.microsoft.com/en-us/dotnet/framework/debug-trace-profile/contextswitchdeadlock-mda","displayUrl":{"content":"/dotnet/framework/debug-trace-profile/contextswitchdeadlock-mda","hitHighlights":[]},"description":"contextSwitchDeadlock MDA Summarize this article for me In this article Note This article is specific to .NET Framework. It doesn\u0027t apply to newer implementati... The contextSwitchDeadlock managed debugging assistant (MDA) is activated when a deadlock is detected during an attempted COM context transition. Cause The most probable cause is that a.","descriptions":[{"content":"contextSwitchDeadlock MDA Summarize this article for me In this article Note This article is specific to .NET Framework. It doesn\u0027t apply to newer implementati... The contextSwitchDeadlock managed debugging assistant (MDA) is activated when a deadlock is detected during an attempted COM context transition. Cause The most probable cause is that a.","hitHighlights":[]}],"lastUpdatedDate":"2026-07-12T22:40:00+00:00","breadcrumbs":[],"category":"Documentation","products":[".NET","Microsoft Defender for Cloud Apps"]},{"title":"WrapperPolicy.CreateAggregatedObject(Object) Method (Microsoft.VisualStudio.Shell)","url":"https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.shell.wrapperpolicy.createaggregatedobject","displayUrl":{"content":"/dotnet/api/microsoft.visualstudio.shell.wrapperpolicy.createaggregatedobject","hitHighlights":[{"start":12,"length":9}]},"description":"WrapperPolicy.CreateAggregatedObject(Object) Method Definition Namespace: Microsoft.VisualStudio.Shell Assembly:Microsoft.VisualStudio.Shell.14.0.dll Assembly:Microsoft.VisualStudio.Shell.15.0.dll Package:Microsoft.VisualStudio.Shell.15.0 v17.14.40264 Wraps the provided object in a native layer that implements STA-threaded COM behavior. ... Wraps.","descriptions":[{"content":"WrapperPolicy.CreateAggregatedObject(Object) Method Definition Namespace: Microsoft.VisualStudio.Shell Assembly:Microsoft.VisualStudio.Shell.14.0.dll Assembly:Microsoft.VisualStudio.Shell.15.0.dll Package:Microsoft.VisualStudio.Shell.15.0 v17.14.40264 Wraps the provided object in a native layer that implements STA-threaded COM behavior. ... Wraps.","hitHighlights":[{"start":311,"length":14}]}],"lastUpdatedDate":"2022-05-09T22:15:00+00:00","breadcrumbs":[],"category":"Reference"},{"title":"ApartmentState Enum (System.Threading)","url":"https://learn.microsoft.com/en-us/dotnet/api/system.threading.apartmentstate","displayUrl":{"content":"/dotnet/api/system.threading.apartmentstate","hitHighlights":[]},"description":"ApartmentState Enum Definition Namespace: System.Threading Assemblies:netstandard.dll, System.Threading.Thread.dll Assembly:System.Threading.Thread.dll Assembly:mscorlib.dll Assembly:netstandard.dll Source:ApartmentState.cs Source:ApartmentState.cs Source:PropertyAnalysis.cs Specifies the apartment state of a Thread. Inheritance Obj... A managed.","descriptions":[{"content":"ApartmentState Enum Definition Namespace: System.Threading Assemblies:netstandard.dll, System.Threading.Thread.dll Assembly:System.Threading.Thread.dll Assembly:mscorlib.dll Assembly:netstandard.dll Source:ApartmentState.cs Source:ApartmentState.cs Source:PropertyAnalysis.cs Specifies the apartment state of a Thread. Inheritance Obj... A managed.","hitHighlights":[]}],"lastUpdatedDate":"2026-05-27T00:23:00+00:00","breadcrumbs":[],"category":"Reference"},{"title":"Dual-STA query and configuration - Win32 apps","url":"https://learn.microsoft.com/en-us/windows/win32/nativewifi/dual-sta-query-config","displayUrl":{"content":"/windows/win32/nativewifi/dual-sta-query-config","hitHighlights":[{"start":31,"length":3}]},"description":"Dual-STA query and configuration Summarize this article for me In this article Note To develop for the features described in this topic, the Windows 11 SDK (10.0.22000.194), and later, is needed. There are two types of interfaces associated with adapters that support dual station (dual-STA) connections\u2014primary STA interfaces, and secondary STA.","descriptions":[{"content":"Dual-STA query and configuration Summarize this article for me In this article Note To develop for the features described in this topic, the Windows 11 SDK (10.0.22000.194), and later, is needed. There are two types of interfaces associated with adapters that support dual station (dual-STA) connections\u2014primary STA interfaces, and secondary STA.","hitHighlights":[{"start":148,"length":4},{"start":267,"length":6},{"start":280,"length":12}]}],"lastUpdatedDate":"2025-03-11T19:21:00+00:00","breadcrumbs":[],"category":"Documentation","products":["Universal Windows Platform (UWP)","Windows"]},{"title":"Threading Models - Windows drivers","url":"https://learn.microsoft.com/en-us/windows-hardware/drivers/taef/threading-models","displayUrl":{"content":"/windows-hardware/drivers/taef/threading-models","hitHighlights":[]},"description":"Threading Models Summarize this article for me In this article TAEF provides functionality for pre-configuring a COM threading model for the environment where you test execute. By default, Managed \u00A9#) and Script tests run on STA thread; for Native, threading model is not pre-configured. The supported values for this property are: Property Value.","descriptions":[{"content":"Threading Models Summarize this article for me In this article TAEF provides functionality for pre-configuring a COM threading model for the environment where you test execute. By default, Managed \u00A9#) and Script tests run on STA thread; for Native, threading model is not pre-configured. The supported values for this property are: Property Value.","hitHighlights":[{"start":224,"length":13}]}],"lastUpdatedDate":"2025-03-26T22:18:00+00:00","breadcrumbs":[],"category":"Documentation","products":["Windows"]},{"title":"NoNamespace.stA Field (DocumentFormat.OpenXml.Linq)","url":"https://learn.microsoft.com/en-us/dotnet/api/documentformat.openxml.linq.nonamespace.sta","displayUrl":{"content":"/dotnet/api/documentformat.openxml.linq.nonamespace.sta","hitHighlights":[{"start":52,"length":3}]},"description":"NoNamespace.stA Field Definition Namespace: DocumentFormat.OpenXml.Linq Assembly:DocumentFormat.OpenXml.Linq.dll Package:DocumentFormat.OpenXml.Linq v2.15.0 Package:DocumentFormat.OpenXml.Linq v2.16.0 Package:DocumentFormat.OpenXml.Linq v2.17.1 Package:DocumentFormat.OpenXml.Linq v2.18.0 Package:DocumentFormat.OpenXml.Linq v2.19.0.","descriptions":[{"content":"NoNamespace.stA Field Definition Namespace: DocumentFormat.OpenXml.Linq Assembly:DocumentFormat.OpenXml.Linq.dll Package:DocumentFormat.OpenXml.Linq v2.15.0 Package:DocumentFormat.OpenXml.Linq v2.16.0 Package:DocumentFormat.OpenXml.Linq v2.17.1 Package:DocumentFormat.OpenXml.Linq v2.18.0 Package:DocumentFormat.OpenXml.Linq v2.19.0.","hitHighlights":[{"start":0,"length":16}]}],"lastUpdatedDate":"2024-01-12T18:58:00+00:00","breadcrumbs":[],"category":"Reference"},{"title":"STATestMethodAttribute Class (Microsoft.VisualStudio.TestTools.UnitTesting)","url":"https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.testtools.unittesting.statestmethodattribute","displayUrl":{"content":"/dotnet/api/microsoft.visualstudio.testtools.unittesting.statestmethodattribute","hitHighlights":[{"start":12,"length":9}]},"description":"STATestMethodAttribute Class Definition Namespace: Microsoft.VisualStudio.TestTools.UnitTesting Assembly:Microsoft.VisualStudio.TestPlatform.TestFramework.dll Assembly:MSTest.TestFramework.dll Package:MSTest.TestFramework v3.10.5 Package:MSTest.TestFramework v3.11.0 Package:MSTest.TestFramework v3.6.4 Package:MSTest.TestFramework v3.7.3.","descriptions":[{"content":"STATestMethodAttribute Class Definition Namespace: Microsoft.VisualStudio.TestTools.UnitTesting Assembly:Microsoft.VisualStudio.TestPlatform.TestFramework.dll Assembly:MSTest.TestFramework.dll Package:MSTest.TestFramework v3.10.5 Package:MSTest.TestFramework v3.11.0 Package:MSTest.TestFramework v3.6.4 Package:MSTest.TestFramework v3.7.3.","hitHighlights":[{"start":0,"length":23}]}],"lastUpdatedDate":"2026-09-03T18:45:00+00:00","breadcrumbs":[],"category":"Reference"},{"title":"STATestMethodAttribute.ExecuteCoreAsync(ITestMethod) Method (Microsoft.VisualStudio.TestTools.UnitTesting)","url":"https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.testtools.unittesting.statestmethodattribute.executecoreasync","displayUrl":{"content":"/dotnet/api/microsoft.visualstudio.testtools.unittesting.statestmethodattribute.executecoreasync","hitHighlights":[{"start":12,"length":9}]},"description":"STATestMethodAttribute.ExecuteCoreAsync(ITestMethod) Method Definition Namespace: Microsoft.VisualStudio.TestTools.UnitTesting Assembly:MSTest.TestFramework.dll Package:MSTest.TestFramework v4.0.2 Package:MSTest.TestFramework v4.1.0 Package:MSTest.TestFramework v4.2.3 Package:MSTest.TestFramework v4.4.0 Package:MSTest.TestFramework v4.3.0.","descriptions":[{"content":"STATestMethodAttribute.ExecuteCoreAsync(ITestMethod) Method Definition Namespace: Microsoft.VisualStudio.TestTools.UnitTesting Assembly:MSTest.TestFramework.dll Package:MSTest.TestFramework v4.0.2 Package:MSTest.TestFramework v4.1.0 Package:MSTest.TestFramework v4.2.3 Package:MSTest.TestFramework v4.4.0 Package:MSTest.TestFramework v4.3.0.","hitHighlights":[{"start":0,"length":53}]}],"lastUpdatedDate":"2026-09-03T18:45:00+00:00","breadcrumbs":[],"category":"Reference"},{"title":"WrapperPolicy Class (Microsoft.VisualStudio.Shell)","url":"https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.shell.wrapperpolicy","displayUrl":{"content":"/dotnet/api/microsoft.visualstudio.shell.wrapperpolicy","hitHighlights":[{"start":12,"length":9}]},"description":"WrapperPolicy Class Definition Namespace: Microsoft.VisualStudio.Shell Assembly:Microsoft.VisualStudio.Shell.14.0.dll Assembly:Microsoft.VisualStudio.Shell.15.0.dll Package:Microsoft.VisualStudio.Shell.15.0 v17.14.40264 Inheritance Object WrapperPolicy Methods Name Description CreateAggregatedObject(Object) Wraps the provided object in a native.","descriptions":[{"content":"WrapperPolicy Class Definition Namespace: Microsoft.VisualStudio.Shell Assembly:Microsoft.VisualStudio.Shell.14.0.dll Assembly:Microsoft.VisualStudio.Shell.15.0.dll Package:Microsoft.VisualStudio.Shell.15.0 v17.14.40264 Inheritance Object WrapperPolicy Methods Name Description CreateAggregatedObject(Object) Wraps the provided object in a native.","hitHighlights":[]}],"lastUpdatedDate":"2022-05-09T22:15:00+00:00","breadcrumbs":[],"category":"Reference"},{"title":"Page.AspCompatMode Property (System.Web.UI)","url":"https://learn.microsoft.com/en-us/dotnet/api/system.web.ui.page.aspcompatmode","displayUrl":{"content":"/dotnet/api/system.web.ui.page.aspcompatmode","hitHighlights":[]},"description":"Page.AspCompatMode Property Definition Namespace: System.Web.UI Assembly:System.Web.dll Sets a value indicating whether the page can be executed on a single-threaded apartment (STA) thread. Remarks When set to true, this property allows the page to be executed on a single-threaded apartment (STA) thread. This allows the page to call STA.","descriptions":[{"content":"Page.AspCompatMode Property Definition Namespace: System.Web.UI Assembly:System.Web.dll Sets a value indicating whether the page can be executed on a single-threaded apartment (STA) thread. Remarks When set to true, this property allows the page to be executed on a single-threaded apartment (STA) thread. This allows the page to call STA.","hitHighlights":[{"start":149,"length":40},{"start":265,"length":40}]}],"lastUpdatedDate":"2026-05-27T00:23:00+00:00","breadcrumbs":[],"category":"Reference"},{"title":"InprocServer32 - Win32 apps","url":"https://learn.microsoft.com/en-us/windows/win32/com/inprocserver32","displayUrl":{"content":"/windows/win32/com/inprocserver32","hitHighlights":[]},"description":"InprocServer32 Summarize this article for me In this article Registers a 32-bit in-process server and specifies the threading model of the apartment the server can run in. Registry Entry Remarks ThreadingModel is a REG_SZ value the specifies the threading model. This apartment is sometimes referred to as the main single-threaded apartment (STA). .","descriptions":[{"content":"InprocServer32 Summarize this article for me In this article Registers a 32-bit in-process server and specifies the threading model of the apartment the server can run in. Registry Entry Remarks ThreadingModel is a REG_SZ value the specifies the threading model. This apartment is sometimes referred to as the main single-threaded apartment (STA). .","hitHighlights":[{"start":309,"length":38}]}],"lastUpdatedDate":"2025-03-11T23:50:00+00:00","breadcrumbs":[],"category":"Documentation","products":["Universal Windows Platform (UWP)","Windows"]},{"title":"APTTYPEQUALIFIER (objidl.h) - Win32 apps","url":"https://learn.microsoft.com/en-us/windows/win32/api/objidl/ne-objidl-apttypequalifier","displayUrl":{"content":"/windows/win32/api/objidl/ne-objidl-apttypequalifier","hitHighlights":[]},"description":"APTTYPEQ... When an STA thread creates or invokes a COM in-process object using the \u0022Neutral\u0022 threading model, the COM apartment type of the thread switches from STA to a Neutral apartment type. This qualifier informs the API caller that the thread has switched from the STA apartment type to the NA type. When the main STA thread creates or invokes.","descriptions":[{"content":"APTTYPEQ... When an STA thread creates or invokes a COM in-process object using the \u0022Neutral\u0022 threading model, the COM apartment type of the thread switches from STA to a Neutral apartment type. This qualifier informs the API caller that the thread has switched from the STA apartment type to the NA type. When the main STA thread creates or invokes.","hitHighlights":[{"start":19,"length":5},{"start":161,"length":5},{"start":270,"length":5},{"start":319,"length":5}]}],"lastUpdatedDate":"2024-02-22T19:54:00+00:00","breadcrumbs":[],"category":"Documentation","products":["Azure Functions","Universal Windows Platform (UWP)","Windows"]},{"title":"AsyncReaderWriterLock.CanCurrentThreadHoldActiveLock Property (Microsoft.VisualStudio.Threading)","url":"https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.threading.asyncreaderwriterlock.cancurrentthreadholdactivelock","displayUrl":{"content":"/dotnet/api/microsoft.visualstudio.threading.asyncreaderwriterlock.cancurrentthreadholdactivelock","hitHighlights":[{"start":12,"length":9}]},"description":"AsyncReaderWriterLock.CanCurrentThreadHoldActiveLock Property Definition Namespace: Microsoft.VisualStudio.Threading Assembly:Microsoft.VisualStudio.Threading.dll Package:Microsoft.VisualStudio.Threading.Only v18.7.23 Gets a value indicating whether the current thread is allowed to hold an active lock. Property Value Boolean Remarks The default.","descriptions":[{"content":"AsyncReaderWriterLock.CanCurrentThreadHoldActiveLock Property Definition Namespace: Microsoft.VisualStudio.Threading Assembly:Microsoft.VisualStudio.Threading.dll Package:Microsoft.VisualStudio.Threading.Only v18.7.23 Gets a value indicating whether the current thread is allowed to hold an active lock. Property Value Boolean Remarks The default.","hitHighlights":[]}],"lastUpdatedDate":"2026-09-03T18:45:00+00:00","breadcrumbs":[],"category":"Reference"},{"title":"[MC-DPL4R]: Message 3","url":"https://learn.microsoft.com/en-us/openspecs/windows_protocols/mc-dpl4r/7c24deb4-d7e8-4076-8150-aa387b758669","displayUrl":{"content":"/openspecs/windows_protocols/mc-dpl4r/7c24deb4-d7e8-4076-8150-aa387b758669","hitHighlights":[]},"description":"Message 3:\u00A0 DATA FRAME Flags:\u00A0\u00A0\u00A0\u00A0\u00A0 STA, EOM, RLY messageid: 2, sequence: 4, serial:0 If Message 3 is dropped, but the sender, Node A, still sends Message 4 (section 4.1.4) to the receiver, Node B, this would result in the following. Message 4:\u00A0 DATA FRAME: 1 Flags:\u00A0\u00A0\u00A0\u00A0\u00A0 STA messageid: 3, sequence: 5, serial: 0 Message 4:\u00A0 DATA FRAME: 2 Flags:\u00A0\u00A0\u00A0\u00A0\u00A0.","descriptions":[{"content":"Message 3:\u00A0 DATA FRAME Flags:\u00A0\u00A0\u00A0\u00A0\u00A0 STA, EOM, RLY messageid: 2, sequence: 4, serial:0 If Message 3 is dropped, but the sender, Node A, still sends Message 4 (section 4.1.4) to the receiver, Node B, this would result in the following. Message 4:\u00A0 DATA FRAME: 1 Flags:\u00A0\u00A0\u00A0\u00A0\u00A0 STA messageid: 3, sequence: 5, serial: 0 Message 4:\u00A0 DATA FRAME: 2 Flags:\u00A0\u00A0\u00A0\u00A0\u00A0.","hitHighlights":[{"start":29,"length":11},{"start":265,"length":21}]}],"lastUpdatedDate":"2024-04-23T17:55:00+00:00","breadcrumbs":[],"category":"Documentation","products":[]},{"title":"APTTYPEQUALIFIER (objidlbase.h) - Win32 apps","url":"https://learn.microsoft.com/en-us/windows/win32/api/objidlbase/ne-objidlbase-apttypequalifier","displayUrl":{"content":"/windows/win32/api/objidlbase/ne-objidlbase-apttypequalifier","hitHighlights":[]},"description":"APTTYPEQ... When an STA thread creates or invokes a COM in-process object using the \u0022Neutral\u0022 threading model, the COM apartment type of the thread switches from STA to a Neutral apartment type. This qualifier informs the API caller that the thread has switched from the STA apartment type to the NA type. When the main STA thread creates or invokes.","descriptions":[{"content":"APTTYPEQ... When an STA thread creates or invokes a COM in-process object using the \u0022Neutral\u0022 threading model, the COM apartment type of the thread switches from STA to a Neutral apartment type. This qualifier informs the API caller that the thread has switched from the STA apartment type to the NA type. When the main STA thread creates or invokes.","hitHighlights":[{"start":19,"length":5},{"start":161,"length":5},{"start":270,"length":5},{"start":319,"length":5}]}],"lastUpdatedDate":"2024-02-22T19:54:00+00:00","breadcrumbs":[],"category":"Documentation","products":["Azure Functions","Universal Windows Platform (UWP)","Windows"]},{"title":"PexApartmentState Enum (Microsoft.Pex.Framework.Settings)","url":"https://learn.microsoft.com/en-us/dotnet/api/microsoft.pex.framework.settings.pexapartmentstate","displayUrl":{"content":"/dotnet/api/microsoft.pex.framework.settings.pexapartmentstate","hitHighlights":[{"start":12,"length":9}]},"description":"PexApartmentState Enum Definition Namespace: Microsoft.Pex.Framework.Settings Assembly:Microsoft.Pex.Framework.dll Thread appartment state for the explorations Inheritance Enum PexApartmentState Attributes SerializableAttribute Fields Name Value Description STA 0 The System.Threading.Thread will create and enter a single-threaded apartment. MTA 1.","descriptions":[{"content":"PexApartmentState Enum Definition Namespace: Microsoft.Pex.Framework.Settings Assembly:Microsoft.Pex.Framework.dll Thread appartment state for the explorations Inheritance Enum PexApartmentState Attributes SerializableAttribute Fields Name Value Description STA 0 The System.Threading.Thread will create and enter a single-threaded apartment. MTA 1.","hitHighlights":[{"start":257,"length":5}]}],"lastUpdatedDate":"2024-05-06T18:20:00+00:00","breadcrumbs":[],"category":"Reference"},{"title":"W14.stA Field (DocumentFormat.OpenXml.Linq)","url":"https://learn.microsoft.com/en-us/dotnet/api/documentformat.openxml.linq.w14.sta","displayUrl":{"content":"/dotnet/api/documentformat.openxml.linq.w14.sta","hitHighlights":[{"start":44,"length":3}]},"description":"W14.stA Field Definition Namespace: DocumentFormat.OpenXml.Linq Assembly:DocumentFormat.OpenXml.Linq.dll Package:DocumentFormat.OpenXml.Linq v2.15.0 Package:DocumentFormat.OpenXml.Linq v2.16.0 Package:DocumentFormat.OpenXml.Linq v2.17.1 Package:DocumentFormat.OpenXml.Linq v2.18.0 Package:DocumentFormat.OpenXml.Linq v2.19.0.","descriptions":[{"content":"W14.stA Field Definition Namespace: DocumentFormat.OpenXml.Linq Assembly:DocumentFormat.OpenXml.Linq.dll Package:DocumentFormat.OpenXml.Linq v2.15.0 Package:DocumentFormat.OpenXml.Linq v2.16.0 Package:DocumentFormat.OpenXml.Linq v2.17.1 Package:DocumentFormat.OpenXml.Linq v2.18.0 Package:DocumentFormat.OpenXml.Linq v2.19.0.","hitHighlights":[{"start":0,"length":8}]}],"lastUpdatedDate":"2024-01-12T18:58:00+00:00","breadcrumbs":[],"category":"Reference"},{"title":"STATestMethodAttribute.UseSTASynchronizationContext Property (Microsoft.VisualStudio.TestTools.UnitTesting)","url":"https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.testtools.unittesting.statestmethodattribute.usestasynchronizationcontext","displayUrl":{"content":"/dotnet/api/microsoft.visualstudio.testtools.unittesting.statestmethodattribute.usestasynchronizationcontext","hitHighlights":[{"start":12,"length":9}]},"description":"STATestMethodAttribute.UseSTASynchronizationContext Property Definition Namespace: Microsoft.VisualStudio.TestTools.UnitTesting Assembly:MSTest.TestFramework.dll Package:MSTest.TestFramework v4.1.0 Package:MSTest.TestFramework v4.2.3 Package:MSTest.TestFramework v4.4.0 Package:MSTest.TestFramework v4.3.0 Source:STATestMethodAttribute.cs.","descriptions":[{"content":"STATestMethodAttribute.UseSTASynchronizationContext Property Definition Namespace: Microsoft.VisualStudio.TestTools.UnitTesting Assembly:MSTest.TestFramework.dll Package:MSTest.TestFramework v4.1.0 Package:MSTest.TestFramework v4.2.3 Package:MSTest.TestFramework v4.4.0 Package:MSTest.TestFramework v4.3.0 Source:STATestMethodAttribute.cs.","hitHighlights":[]}],"lastUpdatedDate":"2026-09-03T18:45:00+00:00","breadcrumbs":[],"category":"Reference"},{"title":"BindingOption Enum (System.EnterpriseServices)","url":"https://learn.microsoft.com/en-us/dotnet/api/system.enterpriseservices.bindingoption","displayUrl":{"content":"/dotnet/api/system.enterpriseservices.bindingoption","hitHighlights":[]},"description":"BindingOption Enum Definition Namespace: System.EnterpriseServices Assembly:System.EnterpriseServices.dll Indicates whether all work submitted by Activity should be bound to only one single-threaded apartment (STA).  ...work submitted by the activity is bound to a single STAIndicates whether all work submitted by Activity should be bound to only.","descriptions":[{"content":"BindingOption Enum Definition Namespace: System.EnterpriseServices Assembly:System.EnterpriseServices.dll Indicates whether all work submitted by Activity should be bound to only one single-threaded apartment (STA).  ...work submitted by the activity is bound to a single STAIndicates whether all work submitted by Activity should be bound to only.","hitHighlights":[{"start":182,"length":33},{"start":262,"length":14}]}],"lastUpdatedDate":"2026-05-27T00:23:00+00:00","breadcrumbs":[],"category":"Reference"},{"title":"RunInMTAAttribute Class (Microsoft.Build.Framework)","url":"https://learn.microsoft.com/en-us/dotnet/api/microsoft.build.framework.runinmtaattribute","displayUrl":{"content":"/dotnet/api/microsoft.build.framework.runinmtaattribute","hitHighlights":[{"start":12,"length":9}]},"description":"RunInMTAAttribute Class Definition Namespace: Microsoft.Build.Framework Assembly:Microsoft.Build.Framework.dll Package:Microsoft.Build.Framework v15.9.20 Package:Microsoft.Build.Framework v16.11.0 Package:Microsoft.Build.Framework v17.14.28 Package:Microsoft.Build.Framework v18.11.0 Source:RunInMTAAttribute.cs Source:RunInMTAAttribute.cs Th....","descriptions":[{"content":"RunInMTAAttribute Class Definition Namespace: Microsoft.Build.Framework Assembly:Microsoft.Build.Framework.dll Package:Microsoft.Build.Framework v15.9.20 Package:Microsoft.Build.Framework v16.11.0 Package:Microsoft.Build.Framework v17.14.28 Package:Microsoft.Build.Framework v18.11.0 Source:RunInMTAAttribute.cs Source:RunInMTAAttribute.cs Th....","hitHighlights":[]}],"lastUpdatedDate":"2022-05-16T23:55:00+00:00","breadcrumbs":[],"category":"Reference"},{"title":"IComThreadEvents::OnThreadTerminate (comsvcs.h) - Win32 apps","url":"https://learn.microsoft.com/en-us/windows/win32/api/comsvcs/nf-comsvcs-icomthreadevents-onthreadterminate","displayUrl":{"content":"/windows/win32/api/comsvcs/nf-comsvcs-icomthreadevents-onthreadterminate","hitHighlights":[]},"description":"IComThreadEvents::OnThreadTerminate method (comsvcs.h) Summarize this article for me In this article Generated when a single-threaded apartment (STA) thread is terminated. Requirements Requirement Value Minimum supported client Windows\u00A02000 Professional [desktop apps only] Minimum supported server Windows\u00A02000 Server [desktop apps only] Target.","descriptions":[{"content":"IComThreadEvents::OnThreadTerminate method (comsvcs.h) Summarize this article for me In this article Generated when a single-threaded apartment (STA) thread is terminated. Requirements Requirement Value Minimum supported client Windows\u00A02000 Professional [desktop apps only] Minimum supported server Windows\u00A02000 Server [desktop apps only] Target.","hitHighlights":[{"start":117,"length":40}]}],"lastUpdatedDate":"2024-02-22T19:54:00+00:00","breadcrumbs":[],"category":"Documentation","products":["Universal Windows Platform (UWP)","Windows"]},{"title":"IComThreadEvents::OnThreadStart (comsvcs.h) - Win32 apps","url":"https://learn.microsoft.com/en-us/windows/win32/api/comsvcs/nf-comsvcs-icomthreadevents-onthreadstart","displayUrl":{"content":"/windows/win32/api/comsvcs/nf-comsvcs-icomthreadevents-onthreadstart","hitHighlights":[]},"description":"IComThreadEvents::OnThreadStart method (comsvcs.h) Summarize this article for me In this article Generated when a single-threaded apartment (STA) thread is started. Requirements Requirement Value Minimum supported client Windows\u00A02000 Professional [desktop apps only] Minimum supported server Windows\u00A02000 Server [desktop apps only] Target Platform.","descriptions":[{"content":"IComThreadEvents::OnThreadStart method (comsvcs.h) Summarize this article for me In this article Generated when a single-threaded apartment (STA) thread is started. Requirements Requirement Value Minimum supported client Windows\u00A02000 Professional [desktop apps only] Minimum supported server Windows\u00A02000 Server [desktop apps only] Target Platform.","hitHighlights":[{"start":0,"length":32},{"start":113,"length":40}]}],"lastUpdatedDate":"2024-02-22T19:54:00+00:00","breadcrumbs":[],"category":"Documentation","products":["Universal Windows Platform (UWP)","Windows"]},{"title":"WDI_TLV_SECONDARY_STA_BAND_CHANNEL (dot11wificxtypes.hpp) - Windows drivers","url":"https://learn.microsoft.com/en-us/windows-hardware/drivers/netcx/wdi-tlv-secondary-sta-band-channel","displayUrl":{"content":"/windows-hardware/drivers/netcx/wdi-tlv-secondary-sta-band-channel","hitHighlights":[{"start":50,"length":3}]},"description":"WDI_TLV_SECONDARY_STA_BAND_CHANNEL (dot11wificxtypes.hpp) Summarize this article for me In this article WDI_TLV_SECONDARY_STA_BAND_CHANNEL is a TLV that contains a list of band IDs and optional channel numbers available for secondary STA connections.  ...rted client Windows 11 Minimum supportedWDI_TLV_SECONDARY_STA_BAND_CHANNEL is a WiFiCx TLV.","descriptions":[{"content":"WDI_TLV_SECONDARY_STA_BAND_CHANNEL (dot11wificxtypes.hpp) Summarize this article for me In this article WDI_TLV_SECONDARY_STA_BAND_CHANNEL is a TLV that contains a list of band IDs and optional channel numbers available for secondary STA connections.  ...rted client Windows 11 Minimum supportedWDI_TLV_SECONDARY_STA_BAND_CHANNEL is a WiFiCx TLV.","hitHighlights":[]}],"lastUpdatedDate":"2023-02-18T00:11:00+00:00","breadcrumbs":[],"category":"Documentation","products":["Windows"]}],"spellingCorrection":[],"scopeRemoved":false,"count":4201929,"nextLink":"https://learn.microsoft.com/api/Search?locale=en-us\u0026search=microsoft%20sta\u0026$skip=30","srcheng":"02","termHasSynonyms":false,"searchType":"semantic"}