CommunicationObject 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 CommunicationObject 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| CommunicationObject() |
初始化 CommunicationObject 類別的新執行個體。 |
| CommunicationObject(Object) |
初始化一個新的類別實例 CommunicationObject ,並使用互斥鎖以保護指定的狀態轉移。 |
CommunicationObject()
初始化 CommunicationObject 類別的新執行個體。
protected:
CommunicationObject();
protected CommunicationObject();
Protected Sub New ()
適用於
CommunicationObject(Object)
初始化一個新的類別實例 CommunicationObject ,並使用互斥鎖以保護指定的狀態轉移。
protected:
CommunicationObject(System::Object ^ mutex);
protected CommunicationObject(object mutex);
new System.ServiceModel.Channels.CommunicationObject : obj -> System.ServiceModel.Channels.CommunicationObject
Protected Sub New (mutex As Object)
參數
- mutex
- Object
這是互斥的鎖,在狀態轉換期間保護類別實例。