MessageProperties.TryGetValue Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether the MessageProperties contains a specific name, and retrieves its value. This method cannot be inherited.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- name
- Type: System.String
The name of the element to locate.
- value
- Type:
System.Object
%
The value of the found element.
Return Value
Type: System.Booleantrue if the MessageProperties contains an element with the specified name; otherwise, false.
Implements
IDictionary<TKey, TValue>.TryGetValue(TKey, TValue)
Show: