Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
使应用程序特定的信息可用于同步观察器。
仅适用于 C/C++ 应用程序。其它组件(如 UltraLite.NET)并不需要单独的参数来处理用户数据,因而没有 User Data 参数。
根据所使用的 API 不同,语法会有所变化。
实现同步观察器回调函数或事件处理程序时,使用应用程序专用的信息的方法是使用 User Data 参数提供信息。