DocumentExtractionClient.GetService(Type, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.