IStreamSubscriptionManager.RemoveSubscription Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RemoveSubscription(String, StreamId, Guid) |
Unsubscribes a grain from a stream. |
RemoveSubscription(String, IStreamIdentity, Guid) |
RemoveSubscription(String, StreamId, Guid)
Unsubscribes a grain from a stream.
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
Parameters
- streamProviderName
- String
Name of the stream provider.
- streamId
- StreamId
The stream identifier.
- subscriptionId
- Guid
The subscription identifier.
Returns
A Task representing the operation.
Applies to
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
Parameters
- streamProviderName
- String
- streamId
- IStreamIdentity
- subscriptionId
- Guid