Topic Class

 

Represents a messaging topic.

Namespace:   Microsoft.WindowsAzure.Messaging
Assembly:  Microsoft.WindowsAzure.Messaging.Managed (in Microsoft.WindowsAzure.Messaging.Managed.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Messaging.Entity
    Microsoft.WindowsAzure.Messaging.Topic

Syntax

public sealed class Topic : Entity
public ref class Topic sealed : Entity
[<Sealed>]
type Topic = 
    class
        inherit Entity
    end
Public NotInheritable Class Topic
    Inherits Entity

Constructors

Name Description
System_CAPS_pubmethod Topic(String, String)

Initializes a new instance of the Topic class.

Properties

Name Description
System_CAPS_pubproperty Connection

Gets or sets the connection string to the Microsoft Azure service.(Inherited from Entity.)

System_CAPS_pubproperty Path

Gets the name of the path.

System_CAPS_pubproperty Token

Gets or sets the token to the Azure service.(Inherited from Entity.)

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateAsync(String, String)

Asynchronously creates a Topic class with the specified path and connection string.

System_CAPS_pubmethodSystem_CAPS_static CreateAsync(String, String, TopicSettings)

Asynchronously creates a Topic class with the specified path, connection string and settings.

System_CAPS_pubmethodSystem_CAPS_static DeleteAsync(String, String)

Asynchronously deletes the specified topic.

System_CAPS_pubmethod Dispose()

Releases all resources used by the current instance of the Entity class.(Inherited from Entity.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod SendAsync(JsonObject)

Asynchronously sends the specified topic.

System_CAPS_pubmethod SendAsync(Message)

Asynchronously sends the specified topic.

System_CAPS_pubmethod SendAsync<T>(T)

Asynchronously sends a topic with the specified message.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Messaging Namespace

Return to top