TfsMessageQueueService Class

Provides centralized management for connections to Team Foundation Server message queues.

System.Object
  Microsoft.TeamFoundation.Framework.Client.TfsMessageQueueService

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

public sealed class TfsMessageQueueService : IDisposable

The TfsMessageQueueService type exposes the following members.

  NameDescription
Public propertyConnectionGets the associated connection.
Public propertyProjectCollection Obsolete. Gets the associated project collection.
Public propertyReceiveTimeoutGets the interval of time that a connection can sustain inactivity before timing out.
Public propertyReconnectTimeoutGets the interval of time allowed for reconnection before the disconnected event is raised.
Public propertySleepTimeoutGets the interval of time that a connection operation will sleep when an empty response is received.
Top

  NameDescription
Public methodCloseCloses all active queues and releases all associated resources.
Public methodCreateQueue(Uri)Creates an object which may be used to dequeue messages from the specified queue.
Public methodCreateQueue(Uri, Int32)Creates an object which may be used to dequeue messages from the specified queue.
Public methodCreateQueue(Uri, Int32, TimeSpan)Creates an object which may be used to dequeue messages from the specified queue.
Public methodCreateQueue(Uri, Int32, TimeSpan, Func<SoapException, Exception>)Creates an object which may be used to dequeue messages from the specified queue.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIDisposable.DisposeCloses all active queues and releases all associated resources.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft