MessagePropertyFilter.SetAll 메서드

정의

메시지를 받을 때 모든 메시지 속성을 검색하도록 지정합니다.

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

예제

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

// Set all of the queue's MessageReadPropertyFilter 
// Boolean properties to true.
queue->MessageReadPropertyFilter->SetAll();
// Set all of the queue's MessageReadPropertyFilter Boolean properties
// to true.
queue.MessageReadPropertyFilter.SetAll();

설명

모든 부울 SetAll 속성을 .로 설정하는 데 MessagePropertyFilter사용합니다true. 이렇게 하면 메시지를 받을 때 모든 메시지 속성이 검색됩니다. SetAll은 ( DefaultBodySize또는 DefaultExtensionSize.)의 값에 DefaultLabelSize영향을 주지 않습니다.

호출 SetAll후 메시지를 받을 때 검색된 속성을 제한하기 false 위해 개별 필터 값을 설정할 수 있습니다.

적용 대상

추가 정보