Share via


MessageVersionHeader Class

Definition

A serializable header for Json-RPC messages that describes version requests.

[System.Runtime.Serialization.DataContract]
public class MessageVersionHeader : IEquatable<Microsoft.Internal.VisualStudio.Extensibility.Framework.MessageVersionHeader>
[<System.Runtime.Serialization.DataContract>]
type MessageVersionHeader = class
    interface IEquatable<MessageVersionHeader>
Public Class MessageVersionHeader
Implements IEquatable(Of MessageVersionHeader)
Inheritance
MessageVersionHeader
Attributes
Implements

Constructors

MessageVersionHeader(IReadOnlyCollection<MessageVersionRequest>)

Initializes a new instance of the MessageVersionHeader class.

MessageVersionHeader(MessageVersionHeader)

Fields

Empty

Gets the instance of empty version header.

TopLevelPropertyName

Gets the suggested Json-Rpc top level property name for storing version header.

Properties

EqualityContract
Requests

Gets the list of message version requests for a message to be processed in order.

Methods

<Clone>$()
CreateUpdateTo(MessageVersionHeader)

Create a header that contains updates to the versions specified in new header.

Equals(MessageVersionHeader)
Equals(Object)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Equality(MessageVersionHeader, MessageVersionHeader)
Inequality(MessageVersionHeader, MessageVersionHeader)

Applies to