ServiceType Property
Collapse the table of content
Expand the table of content

ServiceDescription.ServiceType Property


Gets the type of the service.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Public Property ServiceType As Type

Property Value

Type: System.Type

An instance of the Type that implements the service.

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

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft