Partager via


IOleComponent2 Interface

Enables components to participate in message processing while they are waiting for handles.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'Déclaration
<GuidAttribute("ED0751FC-D772-4D1D-88FC-0C1AA275391B")> _
<InterfaceTypeAttribute()> _
Public Interface IOleComponent2 _
    Implements IOleComponent
'Utilisation
Dim instance As IOleComponent2
[GuidAttribute("ED0751FC-D772-4D1D-88FC-0C1AA275391B")]
[InterfaceTypeAttribute()]
public interface IOleComponent2 : IOleComponent
[GuidAttribute(L"ED0751FC-D772-4D1D-88FC-0C1AA275391B")]
[InterfaceTypeAttribute()]
public interface class IOleComponent2 : IOleComponent
public interface IOleComponent2 extends IOleComponent

Remarks

To add the component to the message loop and receive notification of signals, call FPushMessageLoop with a uReason parameter value of oleloopModelessFormWithHandles or oleloopModelessFormWithHandlesNoIdle.

See Also

Reference

IOleComponent2 Members

Microsoft.VisualStudio.Shell.Interop Namespace

IOleComponentManager

_OLELOOP2