Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IAgileObject interface

Marks an interface as agile across apartments.

Members

The IAgileObject interface inherits from the IUnknown interface but does not have additional members.

Remarks

The IAgileObject interface is a marker interface that indicates that an object is free threaded and can be called from any apartment.

Unlike what happens when aggregating the Free Threaded Marshaler (FTM), implementing the IAgileObject interface doesn't affect what happens when marshaling a call. Instead, the IAgileObject interface is recognized by the Global Interface Table (GIT). When an object that implements the IAgileObject interface is placed in the GIT and localized to another apartment, the object is called directly in the new apartment, rather than marshaling.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Objidlbase.h

IDL

Objidlbase.idl

See also

IUnknown

 

 

Show:
© 2017 Microsoft