ExternalDataExchangeService.GetService(Type) ExternalDataExchangeService.GetService(Type) ExternalDataExchangeService.GetService(Type) ExternalDataExchangeService.GetService(Type) Method

Definition

Gets the service implementation of the specified interface type, if the service is available.

public:
 virtual System::Object ^ GetService(Type ^ serviceType);
public virtual object GetService (Type serviceType);
abstract member GetService : Type -> obj
override this.GetService : Type -> obj
Public Overridable Function GetService (serviceType As Type) As Object

Parameters

serviceType
Type Type Type Type

The Type of the interface implemented by the service to retrieve.

Returns

An object that implements the requested service, or null (Nothing in Visual Basic) if the service cannot be resolved.

Exceptions

Applies to