共用方式為


DurableOperationAttribute.ApplyDispatchBehavior 方法

定義

實作作業的服務端行為。

public:
 virtual void ApplyDispatchBehavior(System::ServiceModel::Description::OperationDescription ^ operationDescription, System::ServiceModel::Dispatcher::DispatchOperation ^ dispatchOperation);
public void ApplyDispatchBehavior (System.ServiceModel.Description.OperationDescription operationDescription, System.ServiceModel.Dispatcher.DispatchOperation dispatchOperation);
abstract member ApplyDispatchBehavior : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Dispatcher.DispatchOperation -> unit
override this.ApplyDispatchBehavior : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Dispatcher.DispatchOperation -> unit
Public Sub ApplyDispatchBehavior (operationDescription As OperationDescription, dispatchOperation As DispatchOperation)

參數

operationDescription
OperationDescription

已修改為支援 DurableOperationAttribute 屬性的作業描述。

dispatchOperation
DispatchOperation

要插入這項作業之自訂服務修改的延伸點。

實作

適用於