Compartir a través de


ServiceDescription.ServiceType Propiedad

Definición

Obtiene el tipo del servicio.

public:
 property Type ^ ServiceType { Type ^ get(); void set(Type ^ value); };
public Type ServiceType { get; set; }
member this.ServiceType : Type with get, set
Public Property ServiceType As Type

Valor de propiedad

Type

instancia de Type que implementa el servicio.

Ejemplos

Type serviceType = svcDesc.ServiceType;
Console.WriteLine("Service Type: {0}", serviceType.ToString());
Dim serviceType As Type = svcDesc.ServiceType
Console.WriteLine("Service Type: {0}", serviceType.ToString())

Se aplica a