OperationContractGenerationContext.Contract Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the code generation context for the service contract.
public:
property System::ServiceModel::Description::ServiceContractGenerationContext ^ Contract { System::ServiceModel::Description::ServiceContractGenerationContext ^ get(); };
public System.ServiceModel.Description.ServiceContractGenerationContext Contract { get; }
member this.Contract : System.ServiceModel.Description.ServiceContractGenerationContext
Public ReadOnly Property Contract As ServiceContractGenerationContext
Property Value
The ServiceContractGenerationContext for the current operation.
Remarks
Use the Contract property to obtain the contract generation context for the service contract that contains the operation.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.