Share via


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

Return Value

Type: Microsoft.AspNet.SignalR.Messaging.Topic
A Topic for the specified key.

See Also

Reference

MessageBus Class

Microsoft.AspNet.SignalR.Messaging Namespace