共用方式為


ServiceBehaviorAttribute.ShouldSerializeTransactionAutoCompleteOnSessionClose 方法

定義

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

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

傳回

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

適用於