Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ServiceMoniker Class

Definition

Namespace:
Microsoft.ServiceHub.Framework
Assembly:
Microsoft.ServiceHub.Framework.dll
Package:
Microsoft.ServiceHub.Framework v4.8.55

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

An identifier for an activatable service.

public ref class ServiceMoniker : IEquatable<Microsoft::ServiceHub::Framework::ServiceMoniker ^>
[Newtonsoft.Json.JsonObject]
[System.ComponentModel.TypeConverter(typeof(Microsoft.ServiceHub.Framework.ServiceMoniker+ServiceMonikerTypeConverter))]
[System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")]
[System.Runtime.Serialization.DataContract]
public class ServiceMoniker : IEquatable<Microsoft.ServiceHub.Framework.ServiceMoniker>
[<Newtonsoft.Json.JsonObject>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.ServiceHub.Framework.ServiceMoniker+ServiceMonikerTypeConverter))>]
[<System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")>]
[<System.Runtime.Serialization.DataContract>]
type ServiceMoniker = class
 interface IEquatable<ServiceMoniker>
Public Class ServiceMoniker
Implements IEquatable(Of ServiceMoniker)
Inheritance
ServiceMoniker
Attributes
Implements

Constructors

Name Description
ServiceMoniker(String, Version)

Initializes a new instance of the ServiceMoniker class.

ServiceMoniker(String)

Initializes a new instance of the ServiceMoniker class.

Properties

Name Description
Name

Gets the name of the service.

Version

Gets the version of the service or the version expected by the client.

Methods

Name Description
Equals(Object)
Equals(ServiceMoniker)

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

GetHashCode()

Serves as the default hash function.

ToString()

Returns a string that represents the current object.

Operators

Name Description
Equality(ServiceMoniker, ServiceMoniker)

Equality comparison operator.

Inequality(ServiceMoniker, ServiceMoniker)

Inequality comparison operator.

Applies to