Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
从监听器对象列表删除指定的 [ShutdownListener] 对象,而该监听器用于在此 [ServerContext] 被取消前接收通知。
void ServerContext.removeShutdownListener(ShutdownListener sl)
sl 用于停止通知的监听器对象。
在 [ServerContext] 被取消前,以下代码将 [ShutdownListener] 对象从接收通知的监听器对象列表中删除。
ServerContext serverContext; ShutdownListener myShutdownListener serverContext.removeShutdownListener(myShutdownListener);