MessageQueue.ClearConnectionCache 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.
Clears the connection cache.
public:
static void ClearConnectionCache();
public static void ClearConnectionCache ();
static member ClearConnectionCache : unit -> unit
Public Shared Sub ClearConnectionCache ()
Examples
The following code example calls ClearConnectionCache.
// Call the MessageQueue.ClearConnectionCache method.
MessageQueue.ClearConnectionCache();
Remarks
When you call ClearConnectionCache, the format names stored in the cache are removed and handles opened and stored in the cache are closed.
The following table shows whether this method is available in various Workgroup modes.
Workgroup mode | Available |
---|---|
Local computer | Yes |
Local computer and direct format name | Yes |
Remote computer | Yes |
Remote computer and direct format name | Yes |
Applies to
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.