Click or drag to resize

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: 19.00.00
Syntax
C#
public void RegisterClosing(
	ProtocolSocketOnRegisterClosingDelegate closingDelegate,
	Object? registeredUseserState = null
)

Parameters

closingDelegate  ProtocolSocketOnRegisterClosingDelegate
The delegate to call.
registeredUseserState  Object  (Optional)
Parameter to pass back to the callback.
Remarks
Exceptions thrown by delegates will be ignored.
See Also