This documentation is archived and is not being maintained.

MessageDescriptionCollection Class

Provides a collection that is used to store descriptions of the messages that make up an operation that belongs to a contract.

Namespace:  System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public class MessageDescriptionCollection : Collection<MessageDescription>

A ContractDescription is used to describe contracts and their associated operations. Each contract operation has a corresponding OperationDescription that describes aspects of the operation, such as whether the operation is one-way or request/reply. Each OperationDescription in turn describes the messages that make up the operation using a collection of MessageDescription.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0