TransactionFlowAttribute.IOperationBehavior.Validate(OperationDescription) 方法
定义
验证操作是否能够支持此行为。Verifies that the operation can support this behavior. 无法继承此方法。This method cannot be inherited.
virtual void System.ServiceModel.Description.IOperationBehavior.Validate(System::ServiceModel::Description::OperationDescription ^ description) = System::ServiceModel::Description::IOperationBehavior::Validate;
void IOperationBehavior.Validate (System.ServiceModel.Description.OperationDescription description);
abstract member System.ServiceModel.Description.IOperationBehavior.Validate : System.ServiceModel.Description.OperationDescription -> unit
override this.System.ServiceModel.Description.IOperationBehavior.Validate : System.ServiceModel.Description.OperationDescription -> unit
Sub Validate (description As OperationDescription) Implements IOperationBehavior.Validate
参数
- description
- OperationDescription
要验证的操作。The operation to validate.
实现
注解
此方法验证操作说明是否足以支持事务流行为。This method verifies whether the operation description is sufficient to support the transaction flow behavior. 请注意,对于 TransactionFlowAttribute,此方法的实现为空。Note that in the case of the TransactionFlowAttribute, the implementation of this method is empty. 创建服务时,基础结构会在内部调用此方法。This method is called internally by the infrastructure when a service is created.