共用方式為


教學課程:建立長期服務

長期服務」(Durable Service) 是使用內容繫結、屬性和新組態項目,將服務狀態資訊保存在存放區 (例如 SQL 資料庫) 的 Windows Communication Foundation (WCF) 服務,這表示長期服務能夠在回收它們時還原它們的狀態。在實作長期執行的狀態對話時,長期服務會很好用。

在此教學課程中,您將建立可將狀態資訊保存在 SQL 資料庫中的長期服務。

本章節內容

工作 1:定義和實作長期服務合約

工作 2:啟用長期服務的持續性

工作 3:建立長期服務用戶端

參考

DurableOperationAttribute

DurableOperationContext

DurableServiceAttribute

PersistenceProviderElement

SqlPersistenceProviderFactory

WSHttpContextBinding

相關章節

HOW TO:啟用長期服務的持續性

請參閱

其他資源

Durable Workflow Services Sample
Windows Workflow Foundation 教學課程

Copyright © 2007 by Microsoft Corporation.All rights reserved.