查看http://msdn.microsoft.com/en-us/library/ms731303.aspx和http://msdn.microsoft.com/en-us/library/ms789007.aspx,给出了指定 ServiceBehavior 的示例,但是有没有办法在 behaviorConfiguration 中指定一个端点行为?就像是
<service name="ServiceName1" behaviorConfiguration="ServiceBehavior1;EndpointBehavior1">
...
<behaviors>
<serviceBehaviors>
<behavior name="ServiceBehavior1">
...
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="EndpointBehavior1">
...
</behavior>
</endpointBehaviors>
</behaviors>
...