다음을 통해 공유


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)

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
Public property SequenceNumber Sequence number of message.

Top

Methods

  Name Description
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public method GetBody<T> Gets the body of the message.

Top

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace