Condividi tramite


TfsmqConnectionNotification Class

Provides information about a connection or disconnection from a message queue.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TfsmqNotification
    Microsoft.TeamFoundation.Framework.Server.TfsmqConnectionNotification

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public NotInheritable Class TfsmqConnectionNotification _
    Inherits TfsmqNotification
public sealed class TfsmqConnectionNotification : TfsmqNotification
public ref class TfsmqConnectionNotification sealed : public TfsmqNotification
[<Sealed>]
type TfsmqConnectionNotification =  
    class 
        inherit TfsmqNotification 
    end
public final class TfsmqConnectionNotification extends TfsmqNotification

The TfsmqConnectionNotification type exposes the following members.

Properties

  Name Description
Public property DateLastConnected Gets the date/time (specified in UTC) of the last client connection to the message queue.
Public property IsConnect Gets a value indicating whether this event is a connection.
Public property IsDisconnect Gets a value indicating whether this event is a connection expiration.
Public property QueueAddress Gets the address of the queue. (Inherited from TfsmqNotification.)
Public property QueueName Gets the name of the queue. (Inherited from TfsmqNotification.)
Public property SequenceId Gets the sequence identifier for this notification.
Public property SessionId Gets the session identifier for this notification, if any.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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

Reference

Microsoft.TeamFoundation.Framework.Server Namespace