Gets the behaviors for the service endpoint.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
If you want access to the IContractBehavior associated with an endpoint, you can obtain the contact for the endpoint using the Contract property. Then call the Behaviors property to obtain the KeyedByTypeCollection<'TItem> of the IContractBehavior objects associated with the endpoint.
Available since 3.0
Available since 4.0