This documentation is archived and is not being maintained.

OperationDescriptionCollection Class

Represents a collection that contains operation descriptions.

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

public class OperationDescriptionCollection : Collection<OperationDescription>

A ContractDescription is used to describe the contract for a service, including the associated operations. The operations are accessed from the Operations property which returns the OperationDescriptionCollection for the contract.

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