Topic.AddSubscription Method
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Messaging
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Sub AddSubscription ( _
subscription As ISubscription _
)
'Usage
Dim instance As Topic
Dim subscription As ISubscription
instance.AddSubscription(subscription)
public void AddSubscription(
ISubscription subscription
)
public:
void AddSubscription(
ISubscription^ subscription
)
member AddSubscription :
subscription:ISubscription -> unit
public function AddSubscription(
subscription : ISubscription
)
Parameters
- subscription
Type: Microsoft.AspNet.SignalR.Messaging.ISubscription