DkmWorkerProcessConnection.FlushClosedObjectQueue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This function is used to force all object close notifications to be immediately exchanged with the monitor process. Like 'GC.Collect' in managed code, this function is normally unnecessary, as the system automatically flushes the queue. However, this method can be used if it is important that all updates are immediately exchanged.
An object close notification is created (and queued) when a component calls 'Close' on a given object. Both the monitor process and the engine process maintain a queue of closed objects. This method may only be called from the engine process, but it is used to flush both queues.
Location constraint: API must be called from an IDE component (component level > 100,000).
This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTMPreview).
public:
void FlushClosedObjectQueue();
public void FlushClosedObjectQueue ();
member this.FlushClosedObjectQueue : unit -> unit
Public Sub FlushClosedObjectQueue ()