MessageQueryTable<TItem>.TryGetValue(MessageQuery, TItem) 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.
Checks whether a matching query is stored in the table.
public:
virtual bool TryGetValue(System::ServiceModel::Dispatcher::MessageQuery ^ key, [Runtime::InteropServices::Out] TItem % value);
public bool TryGetValue (System.ServiceModel.Dispatcher.MessageQuery key, out TItem value);
abstract member TryGetValue : System.ServiceModel.Dispatcher.MessageQuery * 'Item -> bool
override this.TryGetValue : System.ServiceModel.Dispatcher.MessageQuery * 'Item -> bool
Public Function TryGetValue (key As MessageQuery, ByRef value As TItem) As Boolean
Parameters
- key
- MessageQuery
The query that is used as a key to retrieve the data.
- value
- TItem
The value associated with the query.
Returns
Boolean
true
if there is a matching query in the table (the value associated with the query is found in the out
value
parameter); otherwise, false
.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET