RemoveChannelSubscribers

RemoveChannelSubscribers[channel]

从指定的频道中删除所有订户.

RemoveChannelSubscribers[channel,user]

从订户列表中删除指定的用户.

RemoveChannelSubscribers[channel,{user1,user2,}]

删除指定的订户 useri.

更多信息和选项

范例

打开所有单元关闭所有单元

基本范例  (1)

订阅通道并检查订阅户列表:

终止订阅并删除通道:

范围  (2)

开始侦听通道并删除指定用户的订阅:

删除通道:

删除通道的所有订户:

删除通道:

应用  (2)

由通道创建者管理  (1)

创建公共通道并开始侦听:

通过在 Wolfram 语言会话中执行以下指令让另一用户侦听你的通道:

通道的当前订阅户:

取消其他订阅户:

只有当前用户还在通道上:

清理:

由第三方管理  (1)

创建公共通道并把 "Execute" 权利赋予另一个用户:

开始侦听通道:

通过在它们的会话中执行以下命令让其他用户终止你的订阅:

该通道不再有订户:

清理:

属性和关系  (3)

RemoveChannelListener 直接终止当前会话中的订阅:

清理:

RemoveChannelSubscribers 终止当前订阅,但不阻止用户重新订阅:

清理:

通过设置通道权限撤消收听权力,可以阻止将来访问该通道,但不会影响当前活动的监听器. 除 SetOptions 外,还可以使用 RemoveChannelSubscribers 来终止现有的监听器并阻止将来的访问:

清除通道:

Wolfram Research (2019),RemoveChannelSubscribers,Wolfram 语言函数,https://reference.wolfram.com/language/ref/RemoveChannelSubscribers.html.

文本

Wolfram Research (2019),RemoveChannelSubscribers,Wolfram 语言函数,https://reference.wolfram.com/language/ref/RemoveChannelSubscribers.html.

CMS

Wolfram 语言. 2019. "RemoveChannelSubscribers." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/RemoveChannelSubscribers.html.

APA

Wolfram 语言. (2019). RemoveChannelSubscribers. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/RemoveChannelSubscribers.html 年

BibTeX

@misc{reference.wolfram_2024_removechannelsubscribers, author="Wolfram Research", title="{RemoveChannelSubscribers}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/RemoveChannelSubscribers.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_removechannelsubscribers, organization={Wolfram Research}, title={RemoveChannelSubscribers}, year={2019}, url={https://reference.wolfram.com/language/ref/RemoveChannelSubscribers.html}, note=[Accessed: 22-November-2024 ]}