MessageQueue.ReadHandle 속성

정의

메시지 큐에서 메시지를 읽는 데 사용되는 기본 핸들을 가져옵니다.

public:
 property IntPtr ReadHandle { IntPtr get(); };
[System.ComponentModel.Browsable(false)]
[System.Messaging.MessagingDescription("MQ_ReadHandle")]
public IntPtr ReadHandle { get; }
[<System.ComponentModel.Browsable(false)>]
[<System.Messaging.MessagingDescription("MQ_ReadHandle")>]
member this.ReadHandle : nativeint
Public ReadOnly Property ReadHandle As IntPtr

속성 값

IntPtr

nativeint

큐에서 메시지를 피킹하거나 받는 데 사용하는 네이티브 큐 개체에 대한 핸들입니다.

특성

예외

메시지 큐 메서드에 액세스하는 동안 오류가 발생한 경우

설명

ReadHandle 에서 메시지를 피킹하고 받는 데 사용되는 메시지 큐 개체에 대한 네이티브 Windows 핸들을 제공합니다. 큐의 경로를 변경하면 핸들이 닫혀 있고 새 값으로 다시 열립니다.

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

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

적용 대상

추가 정보