MessageBus.CreateTopic Method
.NET Framework 4
Creates a topic for the specified key.
Namespace: Microsoft.AspNet.SignalR.Messaging
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Protected Overridable Function CreateTopic ( _
key As String _
) As Topic
'Usage
Dim key As String
Dim returnValue As Topic
returnValue = Me.CreateTopic(key)
protected virtual Topic CreateTopic(
string key
)
protected:
virtual Topic^ CreateTopic(
String^ key
)
abstract CreateTopic :
key:string -> Topic
override CreateTopic :
key:string -> Topic
protected function CreateTopic(
key : String
) : Topic
Parameters
- key
Type: System.String
The key to create the topic for.
Return Value
Type: Microsoft.AspNet.SignalR.Messaging.Topic
A Topic for the specified key.