Επεξεργασία

Κοινή χρήση μέσω


OperationContractGenerationContext.Contract Property

Definition

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