ServiceBehaviorAttribute.ShouldSerializeReleaseServiceInstanceOnTransactionComplete 方法

定义

返回一个值,该值指示 ReleaseServiceInstanceOnTransactionComplete 属性是否已更改,不再是默认值且应对其进行序列化。

public:
 bool ShouldSerializeReleaseServiceInstanceOnTransactionComplete();
public bool ShouldSerializeReleaseServiceInstanceOnTransactionComplete ();
member this.ShouldSerializeReleaseServiceInstanceOnTransactionComplete : unit -> bool
Public Function ShouldSerializeReleaseServiceInstanceOnTransactionComplete () As Boolean

返回

如果应当序列化 ReleaseServiceInstanceOnTransactionComplete 属性值,则为 true;否则为 false

适用于