共用方式為


ServiceMoniker Class

Definition

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

ServiceMoniker(String, Version)

Initializes a new instance of the ServiceMoniker class.

ServiceMoniker(String)

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.

Applies to