MatchAllMessageFilter.Match Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
These methods returns true
for every message that is not null
.
Overloads
Match(Message) |
This method returns |
Match(MessageBuffer) |
The Match(MessageBuffer) method returns |
Match(Message)
This method returns true
for every message that is not null
.
public:
override bool Match(System::ServiceModel::Channels::Message ^ message);
public override bool Match (System.ServiceModel.Channels.Message message);
override this.Match : System.ServiceModel.Channels.Message -> bool
Public Overrides Function Match (message As Message) As Boolean
Parameters
Returns
Returns true
.
Exceptions
message
is null
.
Remarks
The difference between the two overloads of the Match method is that one takes the MessageBuffer parameter and buffers the entire contents of a message (including its body) into memory, while the other takes the Message parameter and does not buffer the body.
Applies to
Match(MessageBuffer)
The Match(MessageBuffer) method returns true
for every message that is not null
.
public:
override bool Match(System::ServiceModel::Channels::MessageBuffer ^ messageBuffer);
public override bool Match (System.ServiceModel.Channels.MessageBuffer messageBuffer);
override this.Match : System.ServiceModel.Channels.MessageBuffer -> bool
Public Overrides Function Match (messageBuffer As MessageBuffer) As Boolean
Parameters
- messageBuffer
- MessageBuffer
The MessageBuffer object to test.
Returns
Returns true
.
Exceptions
messageBuffer
is null
.
Remarks
This method takes the MessageBuffer parameter, which buffers the entire contents of a message (including its body) into memory, and allows the body to be inspected.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기