OperationContractGenerationContext.Operation 属性

定义

获取当前操作的 OperationDescription

public:
 property System::ServiceModel::Description::OperationDescription ^ Operation { System::ServiceModel::Description::OperationDescription ^ get(); };
public System.ServiceModel.Description.OperationDescription Operation { get; }
member this.Operation : System.ServiceModel.Description.OperationDescription
Public ReadOnly Property Operation As OperationDescription

属性值

OperationDescription

当前操作的 OperationDescription

注解

使用 Operation 属性可以在为该操作生成代码之前检查操作信息。

适用于