ServiceManager.GetService<TServiceType> Method ()

.NET Framework (current version)

Retrieves the requested service. This method returns null if the service could not be located.

Namespace:   System.Activities.Presentation
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public TServiceType GetService<TServiceType>()

Return Value

Type: TServiceType

Returns a generic type, which is an instance of the service, or null if the service has not been published.

Type Parameters


The type of service to retrieve.

.NET Framework
Available since 4.0
Return to top