TransactionFlowAttribute.IOperationBehavior.ApplyDispatchBehavior 方法

定义

将属性功能附加到此属性功能标记的方法的 DispatchOperation 对象。 无法继承此方法。

 virtual void System.ServiceModel.Description.IOperationBehavior.ApplyDispatchBehavior(System::ServiceModel::Description::OperationDescription ^ description, System::ServiceModel::Dispatcher::DispatchOperation ^ dispatch) = System::ServiceModel::Description::IOperationBehavior::ApplyDispatchBehavior;
void IOperationBehavior.ApplyDispatchBehavior (System.ServiceModel.Description.OperationDescription description, System.ServiceModel.Dispatcher.DispatchOperation dispatch);
abstract member System.ServiceModel.Description.IOperationBehavior.ApplyDispatchBehavior : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Dispatcher.DispatchOperation -> unit
override this.System.ServiceModel.Description.IOperationBehavior.ApplyDispatchBehavior : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Dispatcher.DispatchOperation -> unit
Sub ApplyDispatchBehavior (description As OperationDescription, dispatch As DispatchOperation) Implements IOperationBehavior.ApplyDispatchBehavior

参数

description
OperationDescription

此操作的说明。

dispatch
DispatchOperation

此操作的 DispatchOperation 对象。

实现

注解

通过使用此方法,可以在所有消息范围内或者针对某个特定操作来查看、修改或添加对客户端运行库的自定义扩展。 请注意,对于 TransactionFlowAttribute,此方法的实现为空。 创建服务时,基础结构会在内部调用此方法。

适用于