MessageQueue.ClearConnectionCache 메서드

정의

연결 캐시를 지웁니다.

public:
 static void ClearConnectionCache();
public static void ClearConnectionCache ();
static member ClearConnectionCache : unit -> unit
Public Shared Sub ClearConnectionCache ()

예제

다음 코드 예제에서는 ClearConnectionCache를 호출합니다.

// Call the MessageQueue.ClearConnectionCache method.
MessageQueue.ClearConnectionCache();

설명

호출 ClearConnectionCache하면 캐시에 저장된 형식 이름이 제거되고 캐시에 열리고 저장된 핸들이 닫힙니다.

다음 표에서는 이 메서드를 다양한 작업 그룹 모드에서 사용할 수 있는지 여부를 보여 줍니다.

작업 그룹 모드 사용 가능
수집 Yes
로컬 컴퓨터 및 직접 형식 이름 Yes
원격 컴퓨터 Yes
원격 컴퓨터 및 직접 형식 이름 Yes

적용 대상