Language

DocumentExtractionClient.GetService(Type, Object) Method

Definition

Gets an optional service exposed by this client.

public virtual object? GetService(Type serviceType, object? serviceKey = default);
abstract member GetService : Type * obj -> obj
override this.GetService : Type * obj -> obj
Public Overridable Function GetService (serviceType As Type, Optional serviceKey As Object = Nothing) As Object

Parameters

serviceType
Type

The requested service type.

serviceKey
Object

An optional service key.

Returns

The service, or null.

Applies to