Topic.CreateAsync Method (String, String)
Asynchronously creates a Topic class with the specified path and connection string.
Namespace: Microsoft.WindowsAzure.Messaging
Assembly: Microsoft.WindowsAzure.Messaging.Managed (in Microsoft.WindowsAzure.Messaging.Managed.dll)
Syntax
public static Task<Topic> CreateAsync(
string path,
string connectionString
)
public:
static Task<Topic^>^ CreateAsync(
String^ path,
String^ connectionString
)
static member CreateAsync :
path:string *
connectionString:string -> Task<Topic>
Public Shared Function CreateAsync (
path As String,
connectionString As String
) As Task(Of Topic)
Parameters
path
Type: System.StringThe path where the topic belongs to.
connectionString
Type: System.StringThe connection string.
Return Value
Type: System.Threading.Tasks.Task<Topic>
The created Topic class.
See Also
CreateAsync Overload
Topic Class
Microsoft.WindowsAzure.Messaging Namespace
Return to top