DelegateGetInstanceNameFromService Délégué
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.
Obtient une valeur indiquant si le délégué réussit à obtenir le nom instance du service.
public delegate bool DelegateGetInstanceNameFromService(System::String ^ sServiceName, StringBuilder ^ sInstanceName, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetInstanceNameFromService(string sServiceName, StringBuilder sInstanceName, out uint pdwSize);
type DelegateGetInstanceNameFromService = delegate of string * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetInstanceNameFromService(sServiceName As String, sInstanceName As StringBuilder, ByRef pdwSize As UInteger) As Boolean
Paramètres
- sServiceName
- String
Nom du service.
- sInstanceName
- StringBuilder
Nom de l’instance.
- pdwSize
- UInt32
Taille estimée de la structure retournée, en octets.
Valeur renvoyée
true si le délégué réussit ; sinon, false.