Provides centralized management for connections to Team Foundation Server message queues.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.Framework.Client.TfsMessageQueueService
Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public NotInheritable Class TfsMessageQueueService _
    Implements IDisposable
public sealed class TfsMessageQueueService : IDisposable
public ref class TfsMessageQueueService sealed : IDisposable
[<Sealed>]
type TfsMessageQueueService =  
    class 
        interface IDisposable 
    end
public final class TfsMessageQueueService implements IDisposable
The TfsMessageQueueService type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Connection | Gets the associated connection. | 
| .gif) | ProjectCollection | Obsolete. Gets the associated project collection. | 
| .gif) | ReceiveTimeout | Gets the interval of time that a connection can sustain inactivity before timing out. | 
| .gif) | ReconnectTimeout | Gets the interval of time allowed for reconnection before the disconnected event is raised. | 
| .gif) | SleepTimeout | Gets the interval of time that a connection operation will sleep when an empty response is received. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Close | Closes all active queues and releases all associated resources. | 
| .gif) | CreateQueue(Uri) | Creates an object which may be used to dequeue messages from the specified queue. | 
| .gif) | CreateQueue(Uri, Int32) | Creates an object which may be used to dequeue messages from the specified queue. | 
| .gif) | CreateQueue(Uri, Int32, TimeSpan) | Creates an object which may be used to dequeue messages from the specified queue. | 
| .gif) | CreateQueue(Uri, Int32, TimeSpan, Func<SoapException, Exception>) | Creates an object which may be used to dequeue messages from the specified queue. | 
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IDisposable.Dispose | Closes all active queues and releases all associated resources. | 
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.