XmlSerializerOperationBehavior.IOperationBehavior.ApplyClientBehavior Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Applies a client's behavior to the operation.
Namespace: System.ServiceModel.Description
Assembly: System.Xml.Serialization (in System.Xml.Serialization.dll)
Syntax
'Declaration
Private Sub ApplyClientBehavior ( _
description As OperationDescription, _
proxy As ClientOperation _
) Implements IOperationBehavior.ApplyClientBehavior
void IOperationBehavior.ApplyClientBehavior(
OperationDescription description,
ClientOperation proxy
)
Parameters
- description
Type: System.ServiceModel.Description.OperationDescription
A OperationDescription that represents the operation.
- proxy
Type: System.ServiceModel.Dispatcher.ClientOperation
A ClientOperation that represents a client operation.
Implements
IOperationBehavior.ApplyClientBehavior(OperationDescription, ClientOperation)
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | description or proxy 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.