Implements methods that can be used to extend run-time behavior for an operation in a Silverlight application.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Thetype exposes the following members.
|AddBindingParameters||Implement to pass data at runtime to bindings to support custom behavior.|
|ApplyClientBehavior||Implements a modification or extension of the client across an operation.|
|ApplyDispatchBehavior||This method is not used with Silverlight 5 applications.|
|Validate||Implement to confirm that the operation meets some intended criteria.|
Implement the interface to modify, examine, or extend some aspect of operation-wide execution at the application level for Silverlight client applications.
Use the AddBindingParameters method to pass custom data at runtime to enable bindings to support custom behavior.
Use the ApplyClientBehavior method to modify, examine, or insert extensions to a client dispatcher in a client application.
The ApplyDispatchBehavior method is not used in Silverlight 5.
Use the Validate method to confirm that a OperationDescription meets specific requirements. This can be used to ensure that an operation has a certain configuration setting enabled, supports a particular feature and other requirements.
objects can make use of any of these methods, but often only one is important; in such cases, the unused methods can return, performing no action.
objects are typically used to access the various properties of the System.ServiceModel.Dispatcher.DispatchOperation object in a service application and the System.ServiceModel.Dispatcher.ClientOperation object in a client application.
To perform a client customization task, the object must be added to the OperationDescription.Behaviors property before calling the ChannelFactory<TChannel>.CreateChannel method or the ICommunicationObject.Open method on ChannelFactory<TChannel>.
Although the operation behavior is designed for easy access to the runtime at the scope of an individual operation, you can access the runtime at a larger scope by accessing the parent runtime object.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.