MessagePropertyFilter.ClearAll 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
메시지를 받을 때 메시지 속성이 검색되지 않도록 모든 부울 필터 값을 false로 설정합니다.
public:
void ClearAll();
public void ClearAll();
member this.ClearAll : unit -> unit
Public Sub ClearAll ()
예제
다음 코드 예제에서는 메서드를 호출합니다 ClearAll .
// Set all of the queue's MessageReadPropertyFilter
// Boolean properties to false.
queue->MessageReadPropertyFilter->ClearAll();
// Set all of the queue's MessageReadPropertyFilter Boolean properties
// to false.
queue.MessageReadPropertyFilter.ClearAll();
설명
모든 ClearAll 부울 속성을 .로 설정하는 데 MessagePropertyFilter사용합니다false. 이렇게 하면 메시지를 받을 때 메시지 속성을 검색할 수 없습니다.
ClearAll은 ( DefaultBodySize또는 DefaultExtensionSize.)의 값에 DefaultLabelSize영향을 주지 않습니다.
호출 ClearAll후 메시지와 관련된 데이터를 수신하려면 하나 이상의 필터 속성을 true 설정해야 합니다. 개별 속성을