共用方式為


WebInvokeAttribute.IOperationBehavior.ApplyDispatchBehavior 方法

定義

 virtual void System.ServiceModel.Description.IOperationBehavior.ApplyDispatchBehavior(System::ServiceModel::Description::OperationDescription ^ operationDescription, System::ServiceModel::Dispatcher::DispatchOperation ^ dispatchOperation) = System::ServiceModel::Description::IOperationBehavior::ApplyDispatchBehavior;
 virtual void System.ServiceModel.Description.IOperationBehavior.ApplyDispatchBehavior(System::ServiceModel::Description::OperationDescription ^ operation, System::ServiceModel::Dispatcher::DispatchOperation ^ service) = System::ServiceModel::Description::IOperationBehavior::ApplyDispatchBehavior;
void IOperationBehavior.ApplyDispatchBehavior (System.ServiceModel.Description.OperationDescription operationDescription, System.ServiceModel.Dispatcher.DispatchOperation dispatchOperation);
void IOperationBehavior.ApplyDispatchBehavior (System.ServiceModel.Description.OperationDescription operation, System.ServiceModel.Dispatcher.DispatchOperation service);
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
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 (operationDescription As OperationDescription, dispatchOperation As DispatchOperation) Implements IOperationBehavior.ApplyDispatchBehavior
Sub ApplyDispatchBehavior (operation As OperationDescription, service As DispatchOperation) Implements IOperationBehavior.ApplyDispatchBehavior

參數

operationDescriptionoperation
OperationDescription

作業描述。

dispatchOperationservice
DispatchOperation

要分派的作業。

實作

備註

這個方法不會執行任何動作,因為 WebInvokeAttribute 屬性是被動作業行為。

適用於