ProtocolSocketRegisterClosing Method |
Registers a function to call when Close has been called but before the socket has been closed.
Namespace:
Demo3D.Net
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntaxpublic void RegisterClosing(
Action<ProtocolSocket, Object?> closingDelegate,
Object? userState = null
)
Parameters
- closingDelegate
- Type: SystemActionProtocolSocket, Object
The delegate to call. - userState (Optional)
- Type: SystemObject
Parameter to pass back to the callback.
Remarks
Exceptions thrown by delegates will be ignored.
See Also