Compartir a través de


ContractDescription.Behaviors Property

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

Gets the behaviors associated with the contract description.

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

Syntax

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

Property Value

Type: System.Collections.Generic.KeyedByTypeCollection<IContractBehavior>
The KeyedByTypeCollection<TItem> of type IContractBehavior associated with the contract description.

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.