Message received by a subscriber. Only valid for the duration of the Action<TeamFoundationRequestContext, IMessage> method. Do not cache this object as it will be disposed after the message has been delivered.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Interface IMessage _
    Inherits IDisposable
public interface IMessage : IDisposable
public interface class IMessage : IDisposable
type IMessage =  
    interface 
        interface IDisposable 
    end
public interface IMessage extends IDisposable
The IMessage type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | SequenceNumber | Sequence number of message. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | 
| .gif) | GetBody<T> | Gets the body of the message. | 
Top