IStreamSubscriptionManager.RemoveSubscription 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RemoveSubscription(String, StreamId, Guid) |
取消订阅流中的 grain。 |
RemoveSubscription(String, IStreamIdentity, Guid) |
RemoveSubscription(String, StreamId, Guid)
取消订阅流中的 grain。
public System.Threading.Tasks.Task RemoveSubscription (string streamProviderName, Orleans.Runtime.StreamId streamId, Guid subscriptionId);
abstract member RemoveSubscription : string * Orleans.Runtime.StreamId * Guid -> System.Threading.Tasks.Task
Public Function RemoveSubscription (streamProviderName As String, streamId As StreamId, subscriptionId As Guid) As Task
参数
- streamProviderName
- String
流提供程序的名称。
- streamId
- StreamId
流标识符。
- subscriptionId
- Guid
订阅标识符。
返回
表示 Task 操作的 。
适用于
RemoveSubscription(String, IStreamIdentity, Guid)
public System.Threading.Tasks.Task RemoveSubscription (string streamProviderName, Orleans.Streams.IStreamIdentity streamId, Guid subscriptionId);
abstract member RemoveSubscription : string * Orleans.Streams.IStreamIdentity * Guid -> System.Threading.Tasks.Task
Public Function RemoveSubscription (streamProviderName As String, streamId As IStreamIdentity, subscriptionId As Guid) As Task
参数
- streamProviderName
- String
- streamId
- IStreamIdentity
- subscriptionId
- Guid