MessagePropertyFilter.AppSpecific 속성
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
메시지를 받거나 피킹할 때 AppSpecific 속성 정보를 검색할지 여부를 나타내는 값을 가져오거나 설정합니다.
public:
property bool AppSpecific { bool get(); void set(bool value); };
[System.Messaging.MessagingDescription("MsgAppSpecific")]
public bool AppSpecific { get; set; }
[<System.Messaging.MessagingDescription("MsgAppSpecific")>]
member this.AppSpecific : bool with get, set
Public Property AppSpecific As Boolean
AppSpecific 정보를 받는 경우 true
이고, 그렇지 않으면 false
입니다. 기본값은 false
입니다.
- 특성
다음 코드 예제에서는 AppSpecific 속성입니다.
// Set the queue's MessageReadPropertyFilter property
// to enable the message's AppSpecific property.
queue->MessageReadPropertyFilter->AppSpecific = true;
// Peek at the message. Time out after ten seconds
// in case the message was not delivered.
orderMessage = queue->Peek(TimeSpan::FromSeconds(10.0));
// Display the value of the message's
// AppSpecific property.
Console::WriteLine("Message.AppSpecific: {0}",
orderMessage->AppSpecific);
// Set the queue's MessageReadPropertyFilter property to enable the
// message's AppSpecific property.
queue.MessageReadPropertyFilter.AppSpecific = true;
// Peek at the message. Time out after ten seconds in case the message
// was not delivered.
orderMessage = queue.Peek(TimeSpan.FromSeconds(10.0));
// Display the value of the message's AppSpecific property.
Console.WriteLine("Message.AppSpecific: {0}",
orderMessage.AppSpecific);
AppSpecific 의 속성은 Message 클래스에 추가 애플리케이션 관련 정보가 포함 되어 있습니다.
제품 | 버전 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.