Læs på engelsk

Del via


MessageProperties.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains Method 

Determines whether the MessageProperties contains a specific name. This method cannot be inherited.

Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel (in system.servicemodel.dll)

Syntax

C#
bool ICollection<KeyValuePair<string,Object>>.Contains (
    KeyValuePair<string,Object> pair
)

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.

Platforms

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

MessageProperties Class
MessageProperties Members
System.ServiceModel.Channels Namespace