AzureAIInferenceChatClient.GetService<TService>(Object) Method

Definition

public TService? GetService<TService> (object? key = default) where TService : class;
abstract member GetService : obj -> 'Service (requires 'Service : null)
override this.GetService : obj -> 'Service (requires 'Service : null)
Public Function GetService(Of TService As Class) (Optional key As Object = Nothing) As TService

Type Parameters

TService

Parameters

key
Object

Returns

TService

Implements

Applies to