Share via


ActivationChangeEventArgs Constructor

Definition

Constructs a ActivationChangeEventArgs with the given info.

public:
 ActivationChangeEventArgs(Microsoft::VisualStudio::OLE::Interop::IOleComponent ^ activatedComponent, bool calleeIsActivating, Nullable<Microsoft::VisualStudio::OLE::Interop::OLECRINFO> activatingComponentsInfo, bool hostIsActivating, Nullable<Microsoft::VisualStudio::OLE::Interop::OLECHOSTINFO> hostInfo);
public ActivationChangeEventArgs (Microsoft.VisualStudio.OLE.Interop.IOleComponent activatedComponent, bool calleeIsActivating, Microsoft.VisualStudio.OLE.Interop.OLECRINFO? activatingComponentsInfo, bool hostIsActivating, Microsoft.VisualStudio.OLE.Interop.OLECHOSTINFO? hostInfo);
new Microsoft.VisualStudio.PlatformUI.OleComponentSupport.ActivationChangeEventArgs : Microsoft.VisualStudio.OLE.Interop.IOleComponent * bool * Nullable<Microsoft.VisualStudio.OLE.Interop.OLECRINFO> * bool * Nullable<Microsoft.VisualStudio.OLE.Interop.OLECHOSTINFO> -> Microsoft.VisualStudio.PlatformUI.OleComponentSupport.ActivationChangeEventArgs
Public Sub New (activatedComponent As IOleComponent, calleeIsActivating As Boolean, activatingComponentsInfo As Nullable(Of OLECRINFO), hostIsActivating As Boolean, hostInfo As Nullable(Of OLECHOSTINFO))

Parameters

activatedComponent
IOleComponent

The component being activated, or null if none.

calleeIsActivating
Boolean

A Boolean value indicating if the caller of the OnActivationChange(IOleComponent, Int32, OLECRINFO[], Int32, OLECHOSTINFO[], UInt32) is being activated.

activatingComponentsInfo
Nullable<OLECRINFO>

The activating components info, if any.

hostIsActivating
Boolean

A Boolean value indicating whether the component host is activating.

hostInfo
Nullable<OLECHOSTINFO>

The host info, if any.

Applies to