Share via


CommunicationObject 构造函数

定义

初始化 CommunicationObject 类的新实例。

重载

CommunicationObject()

初始化 CommunicationObject 类的新实例。

CommunicationObject(Object)

使用相互排斥锁初始化 CommunicationObject 类的新实例可保护指定的状态转换。

CommunicationObject()

Source:
CommunicationObject.cs
Source:
CommunicationObject.cs
Source:
CommunicationObject.cs

初始化 CommunicationObject 类的新实例。

protected:
 CommunicationObject();
protected CommunicationObject ();
Protected Sub New ()

适用于

CommunicationObject(Object)

Source:
CommunicationObject.cs
Source:
CommunicationObject.cs
Source:
CommunicationObject.cs

使用相互排斥锁初始化 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

在状态转换过程中保护类实例的相互排斥锁。

适用于