Share via


ObjectVersion Struct

Definition

Version of a uniquely identifiable object.

[MessagePack.MessagePackFormatter(typeof(Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectVersionFormatter))]
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct ObjectVersion : IEquatable<Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectVersion>
[<MessagePack.MessagePackFormatter(typeof(Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectVersionFormatter))>]
[<System.Runtime.CompilerServices.IsReadOnly>]
type ObjectVersion = struct
Public Structure ObjectVersion
Implements IEquatable(Of ObjectVersion)
Inheritance
ObjectVersion
Attributes
MessagePack.MessagePackFormatterAttribute IsReadOnlyAttribute
Implements

Constructors

ObjectVersion(UInt32, UInt32)

Version of a uniquely identifiable object.

Properties

ClientChangeCount

Current counter of client-initiated changes of the object.

ServerChangeCount

Current counter of server-initiated changes of the object.

Methods

Deconstruct(UInt32, UInt32)
Equals(Object)
Equals(ObjectVersion)
GetHashCode()
ToString()

Operators

Equality(ObjectVersion, ObjectVersion)
Inequality(ObjectVersion, ObjectVersion)

Extension Methods

NextClientVersion(ObjectVersion)

Gets the ObjectVersion corresponding to the next client change.

NextServerVersion(ObjectVersion)

Gets the ObjectVersion corresponding to the next server change.

Applies to