Microsoft.VisualStudio.Project.ConfigProvider.AdviseCfgProviderEvents C# (CSharp) Method

AdviseCfgProviderEvents() public method

Registers the caller for configuration event notification.
public AdviseCfgProviderEvents ( IVsCfgProviderEvents sink, uint &cookie ) : int
sink IVsCfgProviderEvents Reference to the IVsCfgProviderEvents interface to be called to provide notification of configuration events.
cookie uint Reference to a token representing the completed registration
return int
        public virtual int AdviseCfgProviderEvents(IVsCfgProviderEvents sink, out uint cookie)
        {
            cookie = this.cfgEventSinks.Add(sink);
            return VSConstants.S_OK;
        }