Entity Class

 

Represents a Service Bus messaging entity.

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.NotificationHub
    Microsoft.WindowsAzure.Messaging.Queue
    Microsoft.WindowsAzure.Messaging.Subscription
    Microsoft.WindowsAzure.Messaging.Topic

Syntax

public abstract class Entity : IDisposable
public ref class Entity abstract : IDisposable
[<AbstractClass>]
type Entity = 
    class
        interface IDisposable
    end
Public MustInherit Class Entity
    Implements IDisposable

Constructors

Name Description
System_CAPS_protmethod Entity(String)

Initializes a new instance of the Entity class with a connection string.

Properties

Name Description
System_CAPS_pubproperty Connection

Gets or sets the connection string to the Microsoft Azure service.

System_CAPS_pubproperty Token

Gets or sets the token to the Azure service.

Methods

Name Description
System_CAPS_pubmethod Dispose()

Releases all resources used by the current instance of the Entity class.

System_CAPS_protmethod Dispose(Boolean)

Releases the unmanaged resources and optionally releases the managed resources used by Entity class.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnInternalDispose()

Raises the internal dispose event.

System_CAPS_protmethod OnSetToken()

Raises set token event.

System_CAPS_protmethod ThrowIfDisposed()

Throws an exception if the entity is disposed.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Fields

Name Description
System_CAPS_protfield disposed

Specifies whether entity is disposed.

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