TfsMessageQueueService Class
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 | |
---|---|---|
Connection | ||
ProjectCollection | Obsolete. Gets the associated project collection. | |
ReceiveTimeout | Gets the interval of time that a connection can sustain inactivity before timing out. | |
ReconnectTimeout | Gets the interval of time allowed for reconnection before the disconnected event is raised. | |
SleepTimeout | Gets the interval of time that a connection operation will sleep when an empty response is received. |
Top
Methods
Name | Description | |
---|---|---|
Close | Closes all active queues and releases all associated resources. | |
CreateQueue(Uri) | Creates an object which may be used to dequeue messages from the specified queue. | |
CreateQueue(Uri, Int32) | Creates an object which may be used to dequeue messages from the specified queue. | |
CreateQueue(Uri, Int32, TimeSpan) | Creates an object which may be used to dequeue messages from the specified queue. | |
CreateQueue(Uri, Int32, TimeSpan, Func<SoapException, Exception>) | Creates an object which may be used to dequeue messages from the specified queue. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
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.