PersistenceProviderFactory 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The WF3 types are deprecated. Instead, please use the new WF4 types from System.Activities.*
這是所有持久服務持續性提供者必須繼承的抽象類別。
public ref class PersistenceProviderFactory abstract : System::ServiceModel::Channels::CommunicationObject
public abstract class PersistenceProviderFactory : System.ServiceModel.Channels.CommunicationObject
[System.Obsolete("The WF3 types are deprecated. Instead, please use the new WF4 types from System.Activities.*")]
public abstract class PersistenceProviderFactory : System.ServiceModel.Channels.CommunicationObject
type PersistenceProviderFactory = class
inherit CommunicationObject
[<System.Obsolete("The WF3 types are deprecated. Instead, please use the new WF4 types from System.Activities.*")>]
type PersistenceProviderFactory = class
inherit CommunicationObject
Public MustInherit Class PersistenceProviderFactory
Inherits CommunicationObject
- 繼承
- 衍生
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| PersistenceProviderFactory() |
已淘汰.
當在衍生類別中實作時,會初始化該 PersistenceProvider 類別的新實例。 |
屬性
| 名稱 | Description |
|---|---|
| DefaultCloseTimeout |
已淘汰.
當在派生類別中覆寫時,會得到預設的緊密運算完成時間間隔。 (繼承來源 CommunicationObject) |
| DefaultOpenTimeout |
已淘汰.
當在派生類別中覆寫時,會得到預設的開放操作完成時間間隔。 (繼承來源 CommunicationObject) |
| IsDisposed |
已淘汰.
會得到一個值,表示通訊物件是否已被處置。 (繼承來源 CommunicationObject) |
| State |
已淘汰.
會得到一個表示通訊物件當前狀態的值。 (繼承來源 CommunicationObject) |
| ThisLock |
已淘汰.
取得互斥鎖,保護類別實例在狀態轉換期間。 (繼承來源 CommunicationObject) |
方法
事件
| 名稱 | Description |
|---|---|
| Closed |
已淘汰.
當通訊物件轉換到封閉狀態時,會發生這種情況。 (繼承來源 CommunicationObject) |
| Closing |
已淘汰.
當通訊物件轉換到關閉狀態時,會發生這種情況。 (繼承來源 CommunicationObject) |
| Faulted |
已淘汰.
當通訊物件轉換到錯誤狀態時,會發生這種情況。 (繼承來源 CommunicationObject) |
| Opened |
已淘汰.
當通訊物件轉換進入開啟狀態時,會發生這種情況。 (繼承來源 CommunicationObject) |
| Opening |
已淘汰.
當通訊物件轉換到開啟狀態時,會發生這種情況。 (繼承來源 CommunicationObject) |