CommunicationServerCreateNewMessage 属性 |
获取一个新的消息对象的方法,需要在继承类里面进行重写
The method to get a new message object needs to be overridden in the inheritance class
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Func<INetMessage> CreateNewMessage { get; set; }
Public Property CreateNewMessage As Func(Of INetMessage)
Get
Set
public:
property Func<INetMessage^>^ CreateNewMessage {
Func<INetMessage^>^ get ();
void set (Func<INetMessage^>^ value);
}
member CreateNewMessage : Func<INetMessage> with get, set
返回值
类型:
FuncINetMessage消息类对象
参见