XmlSerializerOperationBehavior.IOperationBehavior.ApplyDispatchBehavior Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Applies a dispatch behavior to the operation.
Namespace: System.ServiceModel.Description
Assembly: System.Xml.Serialization (in System.Xml.Serialization.dll)
Syntax
'Declaration
Private Sub ApplyDispatchBehavior ( _
description As OperationDescription, _
dispatch As DispatchOperation _
) Implements IOperationBehavior.ApplyDispatchBehavior
void IOperationBehavior.ApplyDispatchBehavior(
OperationDescription description,
DispatchOperation dispatch
)
Parameters
- description
Type: System.ServiceModel.Description.OperationDescription
The target OperationDescription.
- dispatch
Type: System.ServiceModel.Dispatcher.DispatchOperation
The DispatchOperation to apply.
Implements
IOperationBehavior.ApplyDispatchBehavior(OperationDescription, DispatchOperation)
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | description or dispatch is nulla null reference (Nothing in Visual Basic). |
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.