Share via


ClientVersion Class

 

Provides an ad hoc client version.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Framework.ClientVersionBase
    Microsoft.ConfigurationManagement.Messaging.Framework.ClientVersion

Syntax

[SerializableAttribute]
public sealed class ClientVersion : ClientVersionBase
[SerializableAttribute]
public ref class ClientVersion sealed : ClientVersionBase
<SerializableAttribute>
Public NotInheritable Class ClientVersion
    Inherits ClientVersionBase

Constructors

Name Description
System_CAPS_pubmethod ClientVersion()

Initializes a new instance of the ClientVersion class.

System_CAPS_pubmethod ClientVersion(Int32, Int32, Int32, Int32)

Initializes a new instance of the ClientVersion class.

System_CAPS_pubmethod ClientVersion(String)

Initializes a new instance of the ClientVersion class.

Properties

Name Description
System_CAPS_pubproperty BuildVersion

Gets or sets the client build version. For example, 5760 is build 5760. (Inherited from ClientVersionBase.)

System_CAPS_pubproperty MajorVersion

Gets or sets the major version for the client. For example, 4 is version 4. (Inherited from ClientVersionBase.)

System_CAPS_pubproperty MinorVersion

Gets or sets the minor version for the client. For example, 3 is service pack 3.(Inherited from ClientVersionBase.)

System_CAPS_pubproperty MiscVersion

Gets or sets a miscellaneous version number for the client. For example, 0001 is a hoxfix release of the build version. (Inherited from ClientVersionBase.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

Determines whether the specified Object is equal to the current Object. (Inherited from ClientVersionBase.)

System_CAPS_pubmethod GetHashCode()

Serves as a hash function for a particular type. (Inherited from ClientVersionBase.)

System_CAPS_pubmethod GetSchema()

This method is reserved and should not be used.

When you implement the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method. If you need to specify a custom schema, apply the XmlSchemaProviderAttribute to the class. (Inherited from ClientVersionBase.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ReadXml(XmlReader)

Generates an object from its XML representation. (Inherited from ClientVersionBase.)

System_CAPS_pubmethod ToString()

Returns a string representation of the client version number. (Inherited from ClientVersionBase.)

System_CAPS_pubmethod WriteXml(XmlWriter)

Converts an object into its XML representation. (Inherited from ClientVersionBase.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top