MessageProperties.System.Collections.Generic.ICollection<KeyValuePair<String,Object>>.Contains Method
[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Determines whether the MessageProperties contains a specific name. This method cannot be inherited.
Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel (in system.servicemodel.dll)
Usage
Syntax
'Declaration
Parameters
- pair
A key/value pair that contains the name and value of the element to locate in the MessageProperties.
Return Value
true if the MessageProperties contains an element with the name and value in the specified pair; otherwise, false.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000
Target Platforms
See Also
Reference
MessageProperties Class
MessageProperties Members
System.ServiceModel.Channels Namespace