共用方式為


IComThreadingInfo Interface

Definition

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

public interface class IComThreadingInfo
public interface class IComThreadingInfo
__interface IComThreadingInfo
[System.Runtime.InteropServices.Guid("000001CE-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IComThreadingInfo
[System.Runtime.InteropServices.Guid("000001CE-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IComThreadingInfo
[<System.Runtime.InteropServices.Guid("000001CE-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IComThreadingInfo = interface
[<System.Runtime.InteropServices.Guid("000001CE-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IComThreadingInfo = interface
Public Interface IComThreadingInfo
Attributes

Methods

GetCurrentApartmentType(APTTYPE[])
GetCurrentLogicalThreadId(Guid)
GetCurrentThreadType(THDTYPE[])
SetCurrentLogicalThreadId(Guid)

Applies to