ServiceMoniker Construtores

Definição

Sobrecargas

ServiceMoniker(String)

Inicializa uma nova instância da classe ServiceMoniker.

ServiceMoniker(String, Version)

Inicializa uma nova instância da classe ServiceMoniker.

ServiceMoniker(String)

Inicializa uma nova instância da classe ServiceMoniker.

public:
 ServiceMoniker(System::String ^ name);
public ServiceMoniker(string name);
new Microsoft.ServiceHub.Framework.ServiceMoniker : string -> Microsoft.ServiceHub.Framework.ServiceMoniker
Public Sub New (name As String)

Parâmetros

name
String

O nome do serviço.

Aplica-se a

ServiceMoniker(String, Version)

Inicializa uma nova instância da classe ServiceMoniker.

public:
 ServiceMoniker(System::String ^ name, Version ^ version);
[Newtonsoft.Json.JsonConstructor]
public ServiceMoniker(string name, Version? version);
[Newtonsoft.Json.JsonConstructor]
[System.Text.Json.Serialization.JsonConstructor]
public ServiceMoniker(string name, Version? version);
[<Newtonsoft.Json.JsonConstructor>]
new Microsoft.ServiceHub.Framework.ServiceMoniker : string * Version -> Microsoft.ServiceHub.Framework.ServiceMoniker
[<Newtonsoft.Json.JsonConstructor>]
[<System.Text.Json.Serialization.JsonConstructor>]
new Microsoft.ServiceHub.Framework.ServiceMoniker : string * Version -> Microsoft.ServiceHub.Framework.ServiceMoniker
Public Sub New (name As String, version As Version)

Parâmetros

name
String

O nome do serviço.

version
Version

A versão do serviço ou esperada pelo cliente. Pode ser nulo.

Atributos
Newtonsoft.Json.JsonConstructorAttribute JsonConstructorAttribute

Aplica-se a