OperationDescription.DeclaringContract Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the contract to which the operation belongs.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.ServiceModel.Description.ContractDescriptionThe ContractDescription for the operation.
| Exception | Condition |
|---|---|
| ArgumentNullException | value set is Nothing. |
Show: