Subscription.SetEventTopic Method
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Messaging
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Overridable Sub SetEventTopic ( _
key As String, _
topic As Topic _
)
'Usage
Dim instance As Subscription
Dim key As String
Dim topic As Topic
instance.SetEventTopic(key, topic)
public virtual void SetEventTopic(
string key,
Topic topic
)
public:
virtual void SetEventTopic(
String^ key,
Topic^ topic
)
abstract SetEventTopic :
key:string *
topic:Topic -> unit
override SetEventTopic :
key:string *
topic:Topic -> unit
public function SetEventTopic(
key : String,
topic : Topic
)
Parameters
- key
Type: System.String
- topic
Type: Microsoft.AspNet.SignalR.Messaging.Topic