This documentation is archived and is not being maintained.

IMessage Interface

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)

public interface class IMessage : IDisposable

The IMessage type exposes the following members.

  NameDescription
Public propertySequenceNumberSequence number of message.
Top

  NameDescription
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public methodGetBody<T>Gets the body of the message.
Top
Show: