System.ServiceModel
4.0.0.0
Implement the interface on an attribute that is also an object to enable the use of that contract behavior attribute on a service type but restrict its application to the contract specified in the property.
There is no requirement to implement on custom contract behavior attributes, and if the attribute is applied either to a contract interface or to a duplex callback class the value of the property is ignored.
For more information, see .
Specifies the contract for which an attribute that implements the interface is active.
Property
4.0.0.0
System.Type
To be added.
Implement the property to specify the contract to which the contract behavior is applied when the implementing attribute is applied to a service class.
Gets the type of the contract to which the contract behavior is applicable.