DelegatingHostedFileClient.GetService(Type, Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Demande l’objet IHostedFileClient du type serviceTypespécifié.
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
Paramètres
- serviceType
- Type
Type d’objet demandé.
- serviceKey
- Object
Clé facultative qui peut être utilisée pour identifier le service cible.
Retours
Objet trouvé, sinon null.