Partager via


HostGroup Class

Definition

Host group.

public ref class HostGroup sealed : IEquatable<Microsoft::ServiceHub::Client::HostGroup ^>
[Newtonsoft.Json.JsonObject(MemberSerialization=Newtonsoft.Json.MemberSerialization.OptIn)]
public sealed class HostGroup : IEquatable<Microsoft.ServiceHub.Client.HostGroup>
[<Newtonsoft.Json.JsonObject(MemberSerialization=Newtonsoft.Json.MemberSerialization.OptIn)>]
type HostGroup = class
    interface IEquatable<HostGroup>
Public NotInheritable Class HostGroup
Implements IEquatable(Of HostGroup)
Inheritance
HostGroup
Attributes
Newtonsoft.Json.JsonObjectAttribute
Implements

Remarks

Host groups in Service Hub allow clients to: * Simultaneously run the same service on multiple hosts. * Ensure that each client process can run services on a dedicated host.

Constructors

HostGroup()

Initializes a new instance of the HostGroup class with a random id.

HostGroup(String)

Initializes a new instance of the HostGroup class.

Properties

Id

Gets or sets the host group id.

Methods

Equals(HostGroup)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Get object's hash code.

ToString()

Returns a string that represents the current object.

Applies to