PipeSslNetOnCommunicationOpen 方法 |
当管道打开成功的时候执行的事件,如果返回失败,则管道的打开操作返回失败
命名空间:
HslCommunication.Core.Pipe
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected override OperateResult OnCommunicationOpen(
Socket socket
)
Protected Overrides Function OnCommunicationOpen (
socket As Socket
) As OperateResult
protected:
virtual OperateResult^ OnCommunicationOpen(
Socket^ socket
) override
abstract OnCommunicationOpen :
socket : Socket -> OperateResult
override OnCommunicationOpen :
socket : Socket -> OperateResult
参数
- socket
- 类型:System.Net.SocketsSocket
通信的套接字
返回值
类型:
OperateResult是否真的打开成功
参见