次の方法で共有


IComThreadingInfo Interface

Provides information about the caller's execution thread, including thread and apartment type. For more information, see IComThreadingInfo.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣言
<InterfaceTypeAttribute()> _
<GuidAttribute("000001CE-0000-0000-C000-000000000046")> _
Public Interface IComThreadingInfo
[InterfaceTypeAttribute()]
[GuidAttribute("000001CE-0000-0000-C000-000000000046")]
public interface IComThreadingInfo

The IComThreadingInfo type exposes the following members.

Methods

  Name Description
Public method GetCurrentApartmentType
Public method GetCurrentLogicalThreadId
Public method GetCurrentThreadType
Public method SetCurrentLogicalThreadId

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace