This documentation is archived and is not being maintained.

DispatchOperation Class

Used to modify or extend the execution behavior of a specific service operation in a service endpoint. This class cannot be inherited.

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

public sealed class DispatchOperation

The DispatchOperation class is the location for run-time modifications and insertion point for custom extensions that are scoped to only one service operation. (To modify service run-time behavior for all messages in a contract, use the DispatchRuntime class.)

Install DispatchOperation modifications using a custom operation behavior object or a behavior at a larger scope in order to modify operations across a contract.

Use the Operations property to locate the DispatchOperation object that represents a particular service operation.


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