ServiceMoniker Class
Definition
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
-
Newtonsoft.Json.JsonObjectAttribute TypeConverterAttribute DebuggerDisplayAttribute DataContractAttribute
- Implements
Constructors
ServiceMoniker(String) |
Initializes a new instance of the ServiceMoniker class. |
ServiceMoniker(String, Version) |
Initializes a new instance of the ServiceMoniker class. |
Properties
Name |
Gets the name of the service. |
Version |
Gets the version of the service or the version expected by the client. |
Methods
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
Equality(ServiceMoniker, ServiceMoniker) |
Equality comparison operator. |
Inequality(ServiceMoniker, ServiceMoniker) |
Inequality comparison operator. |