DkmTransportConnection.FlushClosedObjectQueue Method

Definition

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).

public:
 void FlushClosedObjectQueue();
public:
 void FlushClosedObjectQueue();
void FlushClosedObjectQueue();
public void FlushClosedObjectQueue ();
member this.FlushClosedObjectQueue : unit -> unit
Public Sub FlushClosedObjectQueue ()

Applies to