Condividi tramite


OperationDescription.Behaviors Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the operation behaviors associated with the operation.

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

Syntax

'Declaration
Public ReadOnly Property Behaviors As KeyedByTypeCollection(Of IOperationBehavior)
public KeyedByTypeCollection<IOperationBehavior> Behaviors { get; }

Property Value

Type: System.Collections.Generic.KeyedByTypeCollection<IOperationBehavior>
A KeyedByTypeCollection<TItem> that contains the IOperationBehavior objects associated with the operation.

Remarks

The IOperationBehavior interface is implemented to modify, examine, or extend some aspect of operation-wide execution at the application level for either client or service applications.

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.