共用方式為


ServiceBehaviorAttribute.ShouldSerializeReleaseServiceInstanceOnTransactionComplete 方法

定義

傳回值,這個值表示 ReleaseServiceInstanceOnTransactionComplete 屬性是否已變更為非預設值且應該序列化。

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

傳回

如果應序列化 ReleaseServiceInstanceOnTransactionComplete 屬性值,則為 true,否則為 false

適用於