OperationDescription.Behaviors 属性

定义

获取或设置与此操作关联的操作行为。

public:
 property System::Collections::Generic::KeyedByTypeCollection<System::ServiceModel::Description::IOperationBehavior ^> ^ Behaviors { System::Collections::Generic::KeyedByTypeCollection<System::ServiceModel::Description::IOperationBehavior ^> ^ get(); };
public System.Collections.Generic.KeyedByTypeCollection<System.ServiceModel.Description.IOperationBehavior> Behaviors { get; }
member this.Behaviors : System.Collections.Generic.KeyedByTypeCollection<System.ServiceModel.Description.IOperationBehavior>
Public ReadOnly Property Behaviors As KeyedByTypeCollection(Of IOperationBehavior)

属性值

KeyedByTypeCollection<IOperationBehavior>

一个包含与此操作关联的 KeyedByTypeCollection<TItem> 对象的 IOperationBehavior

注解

实现 IOperationBehavior 接口是为了在应用程序级别,修改、检查或扩展客户端或服务应用程序的操作范围内的某个执行方面。

适用于